mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-19 04:50:54 +02:00
Updated SeaweedFS Java Client (markdown)
@@ -12,6 +12,15 @@ Implemented APIs for file system storage. The blob storage APIs is not included.
|
||||
* **Monitor Filesystem Events** You can watch all meta data changes recursively under any folder. Common `inotify` only support watch for events under one folder, and not recursively.
|
||||
* **Read Ahead** When reading large files and processing the current chunk, the next chunk will be pre-fetched.
|
||||
|
||||
## Note
|
||||
|
||||
When creating a `FilerClient` object, the port `18888` in the example is the default gRPC port.
|
||||
When starting filer, `weed filer -port=8888`, the port 8888 is default http port.
|
||||
|
||||
```
|
||||
FilerClient filerClient = new FilerClient("localhost", 18888);
|
||||
```
|
||||
|
||||
## Read File
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user