Class DocumentNodeStoreService
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
-
public class DocumentNodeStoreService extends Object
The OSGi service to start/stop a DocumentNodeStore instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentNodeStoreService.Preset
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DocumentNodeStoreService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext context, org.apache.jackrabbit.oak.plugins.document.Configuration config)protected voidbindBlobDataSource(DataSource dataSource)protected voidbindBlobStore(BlobStore blobStore)protected voidbindDataSource(DataSource dataSource)protected voidbindNodeStateCache(DocumentNodeStateCache nodeStateCache)protected voiddeactivate()protected voidunbindBlobDataSource(DataSource dataSource)protected voidunbindBlobStore(BlobStore blobStore)protected voidunbindDataSource(DataSource dataSource)protected voidunbindNodeStateCache(DocumentNodeStateCache nodeStateCache)
-
-
-
Field Detail
-
DEFAULT_INVISIBLE_FOR_DISCOVERY
public static final boolean DEFAULT_INVISIBLE_FOR_DISCOVERY
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_LEASE_SO_TIMEOUT_MILLIS
public static final int DEFAULT_MONGO_LEASE_SO_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MAX_POOL_SIZE
public static final int DEFAULT_MONGO_MAX_POOL_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MIN_POOL_SIZE
public static final int DEFAULT_MONGO_MIN_POOL_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MAX_CONNECTING
public static final int DEFAULT_MONGO_MAX_CONNECTING
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MAX_IDLE_TIME_MILLIS
public static final int DEFAULT_MONGO_MAX_IDLE_TIME_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MAX_LIFE_TIME_MILLIS
public static final int DEFAULT_MONGO_MAX_LIFE_TIME_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_CONNECT_TIMEOUT_MILLIS
public static final int DEFAULT_MONGO_CONNECT_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_HEARTBEAT_FREQUENCY_MILLIS
public static final int DEFAULT_MONGO_HEARTBEAT_FREQUENCY_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_SERVER_SELECTION_TIMEOUT_MILLIS
public static final int DEFAULT_MONGO_SERVER_SELECTION_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_WAIT_QUEUE_TIMEOUT_MILLIS
public static final int DEFAULT_MONGO_WAIT_QUEUE_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_READ_TIMEOUT_MILLIS
public static final int DEFAULT_MONGO_READ_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_MONGO_MIN_HEARTBEAT_FREQUENCY_MILLIS
public static final int DEFAULT_MONGO_MIN_HEARTBEAT_FREQUENCY_MILLIS
- See Also:
- Constant Field Values
-
CONTINUOUS_RGC_EXPR
public static final String CONTINUOUS_RGC_EXPR
- See Also:
- Constant Field Values
-
CLASSIC_RGC_EXPR
public static final String CLASSIC_RGC_EXPR
- See Also:
- Constant Field Values
-
DEFAULT_RGC_TIME_LIMIT_SECS
public static final long DEFAULT_RGC_TIME_LIMIT_SECS
- See Also:
- Constant Field Values
-
DEFAULT_RGC_DELAY_FACTOR
public static final double DEFAULT_RGC_DELAY_FACTOR
- See Also:
- Constant Field Values
-
DEFAULT_FGC_DELAY_FACTOR
public static final double DEFAULT_FGC_DELAY_FACTOR
- See Also:
- Constant Field Values
-
DEFAULT_FGC_BATCH_SIZE
public static final int DEFAULT_FGC_BATCH_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_FGC_PROGRESS_SIZE
public static final int DEFAULT_FGC_PROGRESS_SIZE
- See Also:
- Constant Field Values
-
CUSTOM_BLOB_STORE
public static final String CUSTOM_BLOB_STORE
- See Also:
- Constant Field Values
-
PROP_REV_RECOVERY_INTERVAL
public static final String PROP_REV_RECOVERY_INTERVAL
- See Also:
- Constant Field Values
-
PROP_DS_TYPE
public static final String PROP_DS_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext context, org.apache.jackrabbit.oak.plugins.document.Configuration config) throws Exception- Throws:
Exception
-
deactivate
protected void deactivate()
-
bindBlobStore
protected void bindBlobStore(BlobStore blobStore) throws IOException
- Throws:
IOException
-
unbindBlobStore
protected void unbindBlobStore(BlobStore blobStore)
-
bindDataSource
protected void bindDataSource(DataSource dataSource) throws IOException
- Throws:
IOException
-
unbindDataSource
protected void unbindDataSource(DataSource dataSource)
-
bindBlobDataSource
protected void bindBlobDataSource(DataSource dataSource) throws IOException
- Throws:
IOException
-
unbindBlobDataSource
protected void unbindBlobDataSource(DataSource dataSource)
-
bindNodeStateCache
protected void bindNodeStateCache(DocumentNodeStateCache nodeStateCache) throws IOException
- Throws:
IOException
-
unbindNodeStateCache
protected void unbindNodeStateCache(DocumentNodeStateCache nodeStateCache)
-
-