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 StringPROP_CACHE_SIZEstatic StringPROP_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 voidactivate(org.osgi.service.component.ComponentContext context, Map<String,Object> config)protected abstract DataStorecreateDataStore(org.osgi.service.component.ComponentContext context, Map<String,Object> config)protected voiddeactivate()protected String[]getDescription()protected abstract @NotNull StatisticsProvidergetStatisticsProvider()protected static Stringlookup(org.osgi.service.component.ComponentContext context, String property)protected abstract voidsetStatisticsProvider(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()
-
-