public class SingleFileStoreConfiguration extends AbstractSegmentedStoreConfiguration<SingleFileStoreConfiguration> implements ConfigurationInfo
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Float> |
FRAGMENTATION_FACTOR |
static AttributeDefinition<String> |
LOCATION |
static AttributeDefinition<Integer> |
MAX_ENTRIES |
attributes, FETCH_PERSISTENT_STATE, IGNORE_MODIFICATIONS, MAX_BATCH_SIZE, PRELOAD, PROPERTIES, PURGE_ON_STARTUP, SEGMENTED, SHARED, TRANSACTIONAL, WRITE_ONLY
Constructor and Description |
---|
SingleFileStoreConfiguration(AttributeSet attributes,
AsyncStoreConfiguration async) |
Modifier and Type | Method and Description |
---|---|
static AttributeSet |
attributeDefinitionSet() |
AttributeSet |
attributes() |
float |
fragmentationFactor() |
ElementDefinition |
getElementDefinition() |
String |
location() |
int |
maxEntries() |
SingleFileStoreConfiguration |
newConfigurationFrom(int segment,
InitializationContext ctx)
Same as
AbstractSegmentedStoreConfiguration.newConfigurationFrom(int) except that you can utilize the intialization context when
initializing the segmented store object. |
List<ConfigurationInfo> |
subElements() |
String |
toString() |
fileLocationTransform, newConfigurationFrom
async, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, transactional, writeOnly
public static final AttributeDefinition<String> LOCATION
public static final AttributeDefinition<Integer> MAX_ENTRIES
public static final AttributeDefinition<Float> FRAGMENTATION_FACTOR
public SingleFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async)
public static AttributeSet attributeDefinitionSet()
public ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public List<ConfigurationInfo> subElements()
subElements
in interface ConfigurationInfo
subElements
in class AbstractStoreConfiguration
public SingleFileStoreConfiguration newConfigurationFrom(int segment, InitializationContext ctx)
AbstractSegmentedStoreConfiguration
AbstractSegmentedStoreConfiguration.newConfigurationFrom(int)
except that you can utilize the intialization context when
initializing the segmented store object. This methodnewConfigurationFrom
in class AbstractSegmentedStoreConfiguration<SingleFileStoreConfiguration>
segment
- the segment to usectx
- the initialization context from the persistence layerpublic String location()
public int maxEntries()
public float fragmentationFactor()
public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
attributes
in class AbstractStoreConfiguration
AttributeSet
declared by the configuration.public String toString()
toString
in class AbstractStoreConfiguration
Copyright © 2021 JBoss by Red Hat. All rights reserved.