| Constructor and Description |
|---|
MongoMK.Builder() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncDelay() |
org.apache.jackrabbit.mk.blobs.BlobStore |
getBlobStore() |
int |
getClusterId() |
DocumentStore |
getDocumentStore() |
MongoMK |
open()
Open the MongoMK instance using the configured options.
|
MongoMK.Builder |
setAsyncDelay(int asyncDelay)
Set the maximum delay to write the last revision to the root node.
|
MongoMK.Builder |
setBlobStore(org.apache.jackrabbit.mk.blobs.BlobStore blobStore)
Set the blob store to use.
|
MongoMK.Builder |
setClusterId(int clusterId)
Set the cluster id to use.
|
MongoMK.Builder |
setDocumentStore(DocumentStore documentStore)
Set the document store to use.
|
MongoMK.Builder |
setMongoDB(com.mongodb.DB db)
Set the MongoDB connection to use.
|
public MongoMK.Builder setMongoDB(com.mongodb.DB db)
db - the MongoDB connectionpublic MongoMK.Builder setDocumentStore(DocumentStore documentStore)
documentStore - the document storepublic DocumentStore getDocumentStore()
public MongoMK.Builder setBlobStore(org.apache.jackrabbit.mk.blobs.BlobStore blobStore)
blobStore - the blob storepublic org.apache.jackrabbit.mk.blobs.BlobStore getBlobStore()
public MongoMK.Builder setClusterId(int clusterId)
clusterId - the cluster idpublic int getClusterId()
public MongoMK.Builder setAsyncDelay(int asyncDelay)
asyncDelay - in millisecondspublic int getAsyncDelay()
public MongoMK open()
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.