Class DocumentNodeStoreService
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
-
public class DocumentNodeStoreService extends java.lang.ObjectThe OSGi service to start/stop a DocumentNodeStore instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentNodeStoreService.Preset
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLASSIC_RGC_EXPRstatic java.lang.StringCONTINUOUS_RGC_EXPRstatic java.lang.StringCUSTOM_BLOB_STOREstatic doubleDEFAULT_RGC_DELAY_FACTORstatic longDEFAULT_RGC_TIME_LIMIT_SECSstatic java.lang.StringPROP_DS_TYPEstatic java.lang.StringPROP_REV_RECOVERY_INTERVAL
-
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(javax.sql.DataSource dataSource)protected voidbindBlobStore(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore)protected voidbindDataSource(javax.sql.DataSource dataSource)protected voidbindNodeStateCache(DocumentNodeStateCache nodeStateCache)protected voiddeactivate()protected voidunbindBlobDataSource(javax.sql.DataSource dataSource)protected voidunbindBlobStore(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore)protected voidunbindDataSource(javax.sql.DataSource dataSource)protected voidunbindNodeStateCache(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(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore) throws java.io.IOException- Throws:
java.io.IOException
-
unbindBlobStore
protected void unbindBlobStore(org.apache.jackrabbit.oak.spi.blob.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)
-
-