Class DocumentNodeStoreService
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
-
public class DocumentNodeStoreService extends java.lang.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 java.lang.String
CLASSIC_RGC_EXPR
static java.lang.String
CONTINUOUS_RGC_EXPR
static java.lang.String
CUSTOM_BLOB_STORE
static double
DEFAULT_RGC_DELAY_FACTOR
static long
DEFAULT_RGC_TIME_LIMIT_SECS
static java.lang.String
PROP_DS_TYPE
static java.lang.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(javax.sql.DataSource dataSource)
protected void
bindBlobStore(BlobStore blobStore)
protected void
bindDataSource(javax.sql.DataSource dataSource)
protected void
bindNodeStateCache(DocumentNodeStateCache nodeStateCache)
protected void
deactivate()
protected void
unbindBlobDataSource(javax.sql.DataSource dataSource)
protected void
unbindBlobStore(BlobStore blobStore)
protected void
unbindDataSource(javax.sql.DataSource dataSource)
protected void
unbindNodeStateCache(DocumentNodeStateCache nodeStateCache)
-
-
-
Field Detail
-
CONTINUOUS_RGC_EXPR
public static final java.lang.String CONTINUOUS_RGC_EXPR
- See Also:
- Constant Field Values
-
CLASSIC_RGC_EXPR
public static final java.lang.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
-
CUSTOM_BLOB_STORE
public static final java.lang.String CUSTOM_BLOB_STORE
- See Also:
- Constant Field Values
-
PROP_REV_RECOVERY_INTERVAL
public static final java.lang.String PROP_REV_RECOVERY_INTERVAL
- See Also:
- Constant Field Values
-
PROP_DS_TYPE
public static final java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
-
deactivate
protected void deactivate()
-
bindBlobStore
protected void bindBlobStore(BlobStore blobStore) throws java.io.IOException
- Throws:
java.io.IOException
-
unbindBlobStore
protected void unbindBlobStore(BlobStore blobStore)
-
bindDataSource
protected void bindDataSource(javax.sql.DataSource dataSource) throws java.io.IOException
- Throws:
java.io.IOException
-
unbindDataSource
protected void unbindDataSource(javax.sql.DataSource dataSource)
-
bindBlobDataSource
protected void bindBlobDataSource(javax.sql.DataSource dataSource) throws java.io.IOException
- Throws:
java.io.IOException
-
unbindBlobDataSource
protected void unbindBlobDataSource(javax.sql.DataSource dataSource)
-
bindNodeStateCache
protected void bindNodeStateCache(DocumentNodeStateCache nodeStateCache) throws java.io.IOException
- Throws:
java.io.IOException
-
unbindNodeStateCache
protected void unbindNodeStateCache(DocumentNodeStateCache nodeStateCache)
-
-