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 int
DEFAULT_FGC_BATCH_SIZE
static double
DEFAULT_FGC_DELAY_FACTOR
static int
DEFAULT_FGC_PROGRESS_SIZE
static double
DEFAULT_RGC_DELAY_FACTOR
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(BlobStore blobStore)
protected void
bindDataSource(DataSource dataSource)
protected void
bindNodeStateCache(DocumentNodeStateCache nodeStateCache)
protected void
deactivate()
protected void
unbindBlobDataSource(DataSource dataSource)
protected void
unbindBlobStore(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
-
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)
-
-