Class AbstractDataStoreService
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.blob.datastore.AbstractDataStoreService
-
- Direct Known Subclasses:
AbstractAzureDataStoreService
,AbstractS3DataStoreService
,DbDataStoreService
,FileDataStoreService
public abstract class AbstractDataStoreService extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_CACHE_SIZE
static java.lang.String
PROP_ENCODE_LENGTH
-
Constructor Summary
Constructors Constructor Description AbstractDataStoreService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
activate(org.osgi.service.component.ComponentContext context, java.util.Map<java.lang.String,java.lang.Object> config)
protected abstract DataStore
createDataStore(org.osgi.service.component.ComponentContext context, java.util.Map<java.lang.String,java.lang.Object> config)
protected void
deactivate()
protected java.lang.String[]
getDescription()
protected abstract @NotNull StatisticsProvider
getStatisticsProvider()
protected static java.lang.String
lookup(org.osgi.service.component.ComponentContext context, java.lang.String property)
protected abstract void
setStatisticsProvider(StatisticsProvider statisticsProvider)
-
-
-
Field Detail
-
PROP_ENCODE_LENGTH
public static final java.lang.String PROP_ENCODE_LENGTH
- See Also:
- Constant Field Values
-
PROP_CACHE_SIZE
public static final java.lang.String PROP_CACHE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext context, java.util.Map<java.lang.String,java.lang.Object> config) throws RepositoryException
- Throws:
RepositoryException
-
deactivate
protected void deactivate() throws DataStoreException
- Throws:
DataStoreException
-
createDataStore
protected abstract DataStore createDataStore(org.osgi.service.component.ComponentContext context, java.util.Map<java.lang.String,java.lang.Object> config)
-
getStatisticsProvider
@NotNull protected abstract @NotNull StatisticsProvider getStatisticsProvider()
-
setStatisticsProvider
protected abstract void setStatisticsProvider(StatisticsProvider statisticsProvider)
-
getDescription
protected java.lang.String[] getDescription()
-
lookup
protected static java.lang.String lookup(org.osgi.service.component.ComponentContext context, java.lang.String property)
-
-