Class OStorageConfigurationSegment
java.lang.Object
com.orientechnologies.orient.core.config.OStorageConfigurationImpl
com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment
- All Implemented Interfaces:
OStorageConfiguration,OSerializableStream,Serializable
Handles the database configuration in one big record.
- See Also:
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.config.OStorageConfigurationImpl
lock, streamCharset, updateListenerFields inherited from interface com.orientechnologies.orient.core.config.OStorageConfiguration
CURRENT_BINARY_FORMAT_VERSION, CURRENT_VERSION, DEFAULT_CHARSET, DEFAULT_DATE_FORMAT, DEFAULT_DATETIME_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate()voiddelete()load(OContextConfiguration configuration) This method load the record information by the internal cluster segment.voidupdate()Methods inherited from class com.orientechnologies.orient.core.config.OStorageConfigurationImpl
addCluster, addIndexEngine, clearProperties, close, deleteIndexEngine, dropCluster, fromStream, fromStream, getBinaryFormatVersion, getCharset, getClusters, getClusterSelection, getConflictStrategy, getContextConfiguration, getCreatedAtVersion, getDateFormat, getDateFormatInstance, getDateTimeFormat, getDateTimeFormatInstance, getDirectory, getFreeListBoundary, getIndexEngine, getIndexMgrRecordId, getLocaleCountry, getLocaleInstance, getLocaleLanguage, getMaxKeySize, getMinimumClusters, getName, getPageSize, getProperties, getProperty, getRecordSerializer, getRecordSerializerVersion, getSchemaRecordId, getTimeZone, getUuid, getVersion, indexEngines, initConfiguration, isStrictSql, isValidationEnabled, removeProperty, setCharset, setClusterSelection, setClusterStatus, setConfigurationUpdateListener, setConflictStrategy, setCreationVersion, setDateFormat, setDateTimeFormat, setFreeListBoundary, setIndexMgrRecordId, setLocaleCountry, setLocaleLanguage, setMaxKeySize, setMinimumClusters, setPageSize, setProperty, setRecordSerializer, setRecordSerializerVersion, setSchemaRecordId, setTimeZone, setUuid, setValidation, toStream, toStream, toStream
-
Constructor Details
-
OStorageConfigurationSegment
-
-
Method Details
-
delete
- Overrides:
deletein classOStorageConfigurationImpl- Throws:
IOException
-
create
- Overrides:
createin classOStorageConfigurationImpl- Throws:
IOException
-
load
public OStorageConfigurationImpl load(OContextConfiguration configuration) throws OSerializationException Description copied from class:OStorageConfigurationImplThis method load the record information by the internal cluster segment. It's for compatibility with older database than 0.9.25.- Overrides:
loadin classOStorageConfigurationImpl- Throws:
OSerializationException
-
update
- Overrides:
updatein classOStorageConfigurationImpl- Throws:
OSerializationException
-