Skip to content

mintDS/mintds-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

mintds-java

Asynchronous Java client library for mintDS.

BloomFilter example

MintDsClient client = new MintDsClient.Builder()
                .host("localhost")
                .port(7657)
                .numberOfConnections(100)
                .numberOfThreads(1)
                .build();
BloomFilterStore filterStore = new BloomFilterStore(client);

CompletableFuture<Boolean> createResult = filterStore.create("myfilter");
CompletableFuture<Boolean> existsResult = filterStore.exists("myfilter");
CompletableFuture<Boolean> addResult = filterStore.add("myfilter", "myvalue");
CompletableFuture<Boolean> containsResult = filterStore.contains("myfilter", "myvalue");
CompletableFuture<Boolean> dropResult = filterStore.drop("myfilter");

client.close();

About

Asynchronous Java client library for mintDS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages