public class SpaceConfig extends JSpaceAttributes implements IClusterInfoChangedListener
SpaceConfig
builds inside of Server and transfered to the side of client.IRemoteJSpaceAdmin.getConfig(),
Serialized Formm_isClustereddefaults| Constructor and Description |
|---|
SpaceConfig() |
SpaceConfig(String spaceName,
Properties prop,
String containerName,
String schemaPath)
Creates SpaceConfig with the provided space name, using the given
Properties. |
SpaceConfig(String spaceName,
String containerName)
Creates SpaceConfig with the provided space name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterClusterInfoChange(SpaceClusterInfo clusterInfo)
Updates server side components that holds SpaceClusterInfo instances when SpaceClusterInfo changes (i.e horizontal scale event)
|
SpaceConfig |
clone() |
boolean |
containsKey(Object key) |
String |
getContainerName()
Return container owner name
|
String |
getFullSpaceName() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
String |
getPropertyFromSuper(String key)
Returns the property without using the space name.
|
String |
getSchemaPath()
Returns space schema file path
|
String |
getSpaceName()
Returns the space name.
|
void |
readExternal(ObjectInput in) |
Object |
setProperty(String key,
String value)
Overrides method of super class.
|
void |
setSchemaPath(String schemaName)
Sets space schema file path
|
void |
setSpaceName(String spaceName)
Set the space name.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clear, cloneAndUpdate, getBlobStoreCacheCapacityMB, getBlobStoreCacheSize, getBlobStoreCapacityGB, getBlobStoreDevices, getBlobStoreDurabilityLevel, getBlobStoreProperties, getBlobStoreVolumeDir, getCacheManagerSize, getCachePolicy, getClusterConfigURL, getClusterInfo, getClusterPolicy, getConnectionRetries, getCustomComponents, getCustomProperties, getDataClass, getDataPropertiesFile, getDataSourceClass, getDataSourceSharedIteratorMode, getDataSourceSharedIteratorTimeToLive, getDCacheConfigName, getDCacheProperties, getEngineMaxThreads, getEngineMemoryUsageEvictionBatchSize, getEngineMemoryUsageHighPercentageRatio, getEngineMemoryUsageLowPercentageRatio, getEngineMemoryUsageRetryCount, getEngineMemoryUsageWriteOnlyBlockPercentageRatio, getEngineMemoryWriteOnlyCheckPercentageRatio, getEngineMinThreads, getExpirationStaleReplicas, getExpirationTimeInterval, getExpirationTimeRecentDeletes, getExpirationTimeRecentUpdates, getFiltersInfo, getMaxClassLoaders, getNotifyRetries, getProxyConnectionMode, getProxyConnectionRetries, getProxyDetectorFrequency, getProxyMonitorFrequency, getQpDateFormat, getQpDateTimeFormat, getQpInstantFormat, getQpLocalDateFormat, getQpLocalDateTimeFormat, getQpLocalTimeFormat, getQpSpaceReadLeaseTime, getQpSpaceWriteLeaseTime, getQpSqlDateFormat, getQpSqlTimeFormat, getQpTimeFormat, getQpTimestampFormat, getQpTransactionTimeout, getQpUtilDateFormat, getQueryBuilderClass, getSchemaName, getSerializationType, getSpaceDataSourceClassName, getSpaceDataSourceInstance, getSpaceInstanceConfig, getSpaceState, getSupportCodeChange, getSynchronizationEndpointClassName, getSynchronizationEndpointInstance, getTieredStorageConfig, getUsage, getZookeeperConnectionTimeout, getZookeeperRetryInterval, getZookeeperRetryTimeout, getZookeeperSessionTimeout, isBlobstorePersistent, isClustered, isEngineMemoryExplicitGSEnabled, isEngineMemoryGCBeforeShortageEnabled, isEngineMemoryUsageEnabled, isLoadOnStartup, isMirrorServiceEnabled, isPersistent, isPrivate, isQPAutoCommit, isQPParserCaseSensetivity, isQPTraceExecTime, isSupportsInheritanceEnabled, isSupportsPartialUpdateEnabled, isSupportsRemoveByIdEnabled, isSupportsVersionEnabled, isTieredStorageCachePolicy, setBlobStoreProperties, setBlobstoreRocksDBAllowDuplicateUIDs, setCacheManagerSize, setCachePolicy, setClusterConfigURL, setClustered, setClusterInfo, setClusterPolicy, setConnectionRetries, setCustomProperties, setDataClass, setDataPropertiesFile, setDataSourceClass, setDataSourceSharedIteratorMode, setDataSourceSharedIteratorTimeToLive, setDCacheConfigName, setDCacheProperties, setEngineMaxThreads, setEngineMemoryExplicitGSEnabled, setEngineMemoryGCBeforeShortageEnabled, setEngineMemoryUsageEnabled, setEngineMemoryUsageEvictionBatchSize, setEngineMemoryUsageHighPercentageRatio, setEngineMemoryUsageLowPercentageRatio, setEngineMemoryUsageRetryCount, setEngineMemoryUsageWriteOnlyBlockPercentageRatio, setEngineMemoryWriteOnlyCheckPercentageRatio, setEngineMinThreads, setExpirationStaleReplicas, setExpirationTimeInterval, setExpirationTimeRecentDeletes, setExpirationTimeRecentUpdate, setFilterInfoAt, setFiltersInfo, setLoadOnStartup, setMaxClassLoaders, setMirrorServiceEnabled, setNotifyRetries, setPersistent, setPrivate, setProxyConnectionMode, setProxyConnectionRetries, setProxyDetectorFrequency, setProxyMonitorFrequency, setQPAutoCommit, setQpDateFormat, setQpDateTimeFormat, setQpInstantFormat, setQpLocalDateFormat, setQpLocalDateTimeFormat, setQpLocalTimeFormat, setQPParserCaseSensetivity, setQpSpaceReadLeaseTime, setQpSpaceWriteLeaseTime, setQpSqlDateFormat, setQpSqlTimeFormat, setQpTimeFormat, setQpTimestampFormat, setQPTraceExecTime, setQpTransactionTimeout, setQpUtilDateFormat, setQueryBuilderClass, setSchemaName, setSerializationType, setSpaceState, setSupportCodeChange, setSupportsInheritanceEnabled, setSupportsPartialUpdateEnabled, setSupportsRemoveByIdEnabled, setSupportsVersionEnabled, setUsage, setZookeeperConnectionTimeout, setZookeeperRetryInterval, setZookeeperRetryTimeout, setZookeeperSessionTimeoutlist, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamescompute, computeIfAbsent, computeIfPresent, contains, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic SpaceConfig()
public SpaceConfig(String spaceName, String containerName)
spaceName - the space namecontainerName - container owner namepublic SpaceConfig(String spaceName, Properties prop, String containerName, String schemaPath)
Properties.spaceName - the space nameprop - properties for the SpaceConfigcontainerName - container owner nameschemaPath - path to space schema filepublic SpaceConfig clone()
clone in class JSpaceAttributespublic String getSpaceName()
public void setSpaceName(String spaceName)
spaceName - the new space namepublic String getFullSpaceName()
public String getSchemaPath()
public void setSchemaPath(String schemaName)
schemaName - path to space schema file ( including host IP address )public String getProperty(String key)
getProperty in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic Object setProperty(String key, String value)
setProperty in class JSpaceAttributeskey - the key to be placed into this property list.value - the value corresponding to key.public String getPropertyFromSuper(String key)
key - the property key.public String toString()
toString in class JSpaceAttributespublic boolean containsKey(Object key)
containsKey in interface Map<Object,Object>containsKey in class Hashtable<Object,Object>public String getContainerName()
public void afterClusterInfoChange(SpaceClusterInfo clusterInfo)
IClusterInfoChangedListenerafterClusterInfoChange in interface IClusterInfoChangedListenerpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class JSpaceAttributesIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class JSpaceAttributesIOExceptionCopyright © GigaSpaces.