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 class
DocumentNodeStoreService.Preset
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSIC_RGC_EXPR
static String
CONTINUOUS_RGC_EXPR
static String
CUSTOM_BLOB_STORE
static long
DEFAULT_RGC_TIME_LIMIT_SECS
static String
PROP_DS_TYPE
static String
PROP_REV_RECOVERY_INTERVAL
-
Constructor Summary
Constructors Constructor Description DocumentNodeStoreService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate(org.osgi.service.component.ComponentContext context, org.apache.jackrabbit.oak.plugins.document.Configuration config)
protected void
bindBlobDataSource(DataSource dataSource)
protected void
bindBlobStore(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore)
protected void
bindDataSource(DataSource dataSource)
protected void
bindNodeStateCache(DocumentNodeStateCache nodeStateCache)
protected void
deactivate()
protected void
unbindBlobDataSource(DataSource dataSource)
protected void
unbindBlobStore(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore)
protected void
unbindDataSource(DataSource dataSource)
protected void
unbindNodeStateCache(DocumentNodeStateCache nodeStateCache)
-
-
-
Field Detail
-
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
-
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(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore) throws IOException
- Throws:
IOException
-
unbindBlobStore
protected void unbindBlobStore(org.apache.jackrabbit.oak.spi.blob.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)
-
-