Change filesystem to filesystem-nio2

master
Andrew Gaul 2025-02-02 13:40:15 +09:00
rodzic 44d1f2b88e
commit 9f317c98ea
1 zmienionych plików z 2 dodań i 2 usunięć

@ -41,14 +41,14 @@ Sonatype also provides pre-release snapshots:
# Usage
Instantiate S3Proxy by creating a backend `BlobStore` object and a frontend `S3Proxy` object. An example configuring the filesystem backend and listening on port 8080:
Instantiate S3Proxy by creating a backend `BlobStore` object and a frontend `S3Proxy` object. An example configuring the filesystem-nio2 backend and listening on port 8080:
```java
Properties properties = new Properties();
properties.setProperty("jclouds.filesystem.basedir", "/tmp/blobstore");
BlobStoreContext context = ContextBuilder
.newBuilder("filesystem")
.newBuilder("filesystem-nio2")
.credentials("identity", "credential")
.overrides(properties)
.build(BlobStoreContext.class);