public class SingleFileStoreConfiguration extends AbstractSegmentedStoreConfiguration<SingleFileStoreConfiguration> implements ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<java.lang.Float> |
FRAGMENTATION_FACTOR |
static AttributeDefinition<java.lang.String> |
LOCATION |
static AttributeDefinition<java.lang.Integer> |
MAX_ENTRIES |
attributes, FETCH_PERSISTENT_STATE, IGNORE_MODIFICATIONS, MAX_BATCH_SIZE, PRELOAD, PROPERTIES, PURGE_ON_STARTUP, SEGMENTED, SHARED, TRANSACTIONAL| Constructor and Description |
|---|
SingleFileStoreConfiguration(AttributeSet attributes,
AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore) |
| Modifier and Type | Method and Description |
|---|---|
static AttributeSet |
attributeDefinitionSet() |
AttributeSet |
attributes() |
float |
fragmentationFactor() |
ElementDefinition |
getElementDefinition() |
java.lang.String |
location() |
int |
maxEntries() |
SingleFileStoreConfiguration |
newConfigurationFrom(int segment)
Method that is invoked each time a new store is created for a segment.
|
java.util.List<ConfigurationInfo> |
subElements() |
java.lang.String |
toString() |
fileLocationTransformasync, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, singletonStore, transactionalpublic static final AttributeDefinition<java.lang.String> LOCATION
public static final AttributeDefinition<java.lang.Integer> MAX_ENTRIES
public static final AttributeDefinition<java.lang.Float> FRAGMENTATION_FACTOR
public SingleFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
public static AttributeSet attributeDefinitionSet()
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public java.util.List<ConfigurationInfo> subElements()
subElements in interface ConfigurationInfosubElements in class AbstractStoreConfigurationpublic SingleFileStoreConfiguration newConfigurationFrom(int segment)
AbstractSegmentedStoreConfigurationnewConfigurationFrom in class AbstractSegmentedStoreConfiguration<SingleFileStoreConfiguration>segment - the segment to usepublic java.lang.String location()
public int maxEntries()
public float fragmentationFactor()
public AttributeSet attributes()
attributes in interface BaseConfigurationInfoattributes in class AbstractStoreConfigurationAttributeSet declared by the configuration.public java.lang.String toString()
toString in class AbstractStoreConfiguration