Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-29 Thread Andrew Phillips
demobox commented on this pull request. > @@ -148,8 +149,13 @@ public boolean blobExists(final String containerName, > final String blobName) { } @Override - public Iterable getBlobKeysInsideContainer(final String containerName) { - return

Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-29 Thread Andrew Gaul
gaul commented on this pull request. > } else if (child.isDirectory()) { -blobNames.add(function.apply(child.getAbsolutePath()) + File.separator); // TODO: undo if failures -populateBlobKeysInContainer(child, blobNames, function); +// Consider a

Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-29 Thread Timur Alperovich
timuralp approved this pull request. Looks good to me! > } else if (child.isDirectory()) { -blobNames.add(function.apply(child.getAbsolutePath()) + File.separator); // TODO: undo if failures -populateBlobKeysInContainer(child, blobNames, function); +

Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-29 Thread Ignasi Barrera
nacx approved this pull request. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/1268#pullrequestreview-197508785

Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-25 Thread Andrew Gaul
@timuralp could you review this? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/1268#issuecomment-457725188

Re: [jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-25 Thread Andrew Gaul
gaul commented on this pull request. > @@ -148,8 +149,13 @@ public boolean blobExists(final String containerName, > final String blobName) { } @Override - public Iterable getBlobKeysInsideContainer(final String containerName) { - return

[jclouds/jclouds] JCLOUDS-1371: JCLOUDS-1488: list optimize prefix (#1268)

2019-01-25 Thread Andrew Gaul
Previously getBlobKeysInsideContainer returned all keys and filtered in LocalBlobStore. Now getBlobKeysInsideContainer filters via prefix which can dramatically decrease the number of keys returned, especially for the filesystem provider. Further optimizations are possible for delimiter. You can