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 Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROP_CACHE_SIZE
static 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, Map<String,Object> config)
protected abstract DataStore
createDataStore(org.osgi.service.component.ComponentContext context, Map<String,Object> config)
protected void
deactivate()
protected String[]
getDescription()
protected abstract @NotNull StatisticsProvider
getStatisticsProvider()
protected static String
lookup(org.osgi.service.component.ComponentContext context, String property)
protected abstract void
setStatisticsProvider(StatisticsProvider statisticsProvider)
-
-
-
Field Detail
-
PROP_ENCODE_LENGTH
public static final String PROP_ENCODE_LENGTH
- See Also:
- Constant Field Values
-
PROP_CACHE_SIZE
public static final String PROP_CACHE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext context, Map<String,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, Map<String,Object> config)
-
getStatisticsProvider
@NotNull protected abstract @NotNull StatisticsProvider getStatisticsProvider()
-
setStatisticsProvider
protected abstract void setStatisticsProvider(StatisticsProvider statisticsProvider)
-
getDescription
protected String[] getDescription()
-
-