Package com.coditory.sherlock.reactive
Class ReactiveMongoSherlock
- java.lang.Object
-
- com.coditory.sherlock.reactive.ReactiveMongoSherlock
-
public class ReactiveMongoSherlock extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.coditory.sherlock.reactive.ReactiveSherlock
build()
static ReactiveMongoSherlock
builder()
ReactiveMongoSherlock
withClock(Clock clock)
ReactiveMongoSherlock
withCollectionName(String collectionName)
ReactiveMongoSherlock
withDatabaseName(String databaseName)
ReactiveMongoSherlock
withLockDuration(Duration duration)
ReactiveMongoSherlock
withMongoClient(com.mongodb.reactivestreams.client.MongoClient mongoClient)
ReactiveMongoSherlock
withServiceInstanceId(String instanceId)
-
-
-
Method Detail
-
builder
public static ReactiveMongoSherlock builder()
-
withMongoClient
public ReactiveMongoSherlock withMongoClient(com.mongodb.reactivestreams.client.MongoClient mongoClient)
-
withDatabaseName
public ReactiveMongoSherlock withDatabaseName(String databaseName)
-
withCollectionName
public ReactiveMongoSherlock withCollectionName(String collectionName)
-
withLockDuration
public ReactiveMongoSherlock withLockDuration(Duration duration)
-
withServiceInstanceId
public ReactiveMongoSherlock withServiceInstanceId(String instanceId)
-
withClock
public ReactiveMongoSherlock withClock(Clock clock)
-
build
public com.coditory.sherlock.reactive.ReactiveSherlock build()
-
-