public class JSpaceAttributes extends Properties implements Externalizable
Modifier and Type | Field and Description |
---|---|
boolean |
m_isClustered
Deprecated.
|
defaults
Constructor and Description |
---|
JSpaceAttributes()
Default constructor.
|
JSpaceAttributes(Properties prop) |
JSpaceAttributes(String schemaName,
boolean isLoadSpaceOnStartup)
Initialize JSpace attributes.
|
JSpaceAttributes(String schemaName,
Properties customProperties,
boolean isLoadSpaceOnStartup)
Initialize JSpace attributes.
|
JSpaceAttributes(String schemaName,
String clusterConfigURL)
Initialize JSpace attributes.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, values
@Deprecated public boolean m_isClustered
public JSpaceAttributes()
public JSpaceAttributes(Properties prop)
public JSpaceAttributes(String schemaName, Properties customProperties, boolean isLoadSpaceOnStartup)
schemaName
- The space/container schema name. If not null we use this schema xml
file as the space/container configuration template for this space.customProperties
- if passed we use it to overwrite the space/container JProperties.public JSpaceAttributes(String schemaName, boolean isLoadSpaceOnStartup)
schemaName
- The space/container schema name. If not null we use this schema xml file as
the space/container configuration template for this space.public JSpaceAttributes(String schemaName, String clusterConfigURL)
schemaName
- The space/container schema name. If not null we use this schema xml
file as the space configuration template for this space.clusterConfigURL
- URL to cluster configuration file.public Object setProperty(String key, String value)
setProperty
in class Properties
key
- the key to be placed into this property list.value
- the value corresponding to key.public boolean isPersistent()
public void setPersistent(boolean isPersistent)
isPersistent
- public boolean isQPAutoCommit()
public void setQPAutoCommit(boolean isQPAutoCommit)
isQPAutoCommit
- public boolean isQPParserCaseSensetivity()
public void setQPParserCaseSensetivity(boolean isQPParserCaseSensetivity)
isQPParserCaseSensetivity
- public boolean isQPTraceExecTime()
public void setQPTraceExecTime(boolean isQPTraceExecTime)
isQPTraceExecTime
- public int getQpSpaceReadLeaseTime()
public void setQpSpaceReadLeaseTime(int qpSpaceReadLeaseTime)
qpSpaceReadLeaseTime
- public long getQpSpaceWriteLeaseTime()
public void setQpSpaceWriteLeaseTime(long qpSpaceWriteLeaseTime)
qpSpaceWriteLeaseTime
- public int getQpTransactionTimeout()
public void setQpTransactionTimeout(int qpTransactionTimeout)
qpTransactionTimeout
- public String getQpDateFormat()
public void setQpDateFormat(String qpDateFormat)
qpDateFormat
- public String getQpDateTimeFormat()
public void setQpDateTimeFormat(String qpDateTimeFormat)
qpDateTimeFormat
- public String getQpTimeFormat()
public void setQpTimeFormat(String qpTimeFormat)
qpTimeFormat
- public String isEngineMemoryUsageEnabled()
public void setEngineMemoryUsageEnabled(String isMemoryUsageEnabled)
isMemoryUsageEnabled
- public void setEngineMemoryUsageHighPercentageRatio(String highPercentageRatio)
highPercentageRatio
- public String getEngineMemoryUsageHighPercentageRatio()
public void setEngineMemoryUsageWriteOnlyBlockPercentageRatio(String blockPercentageRatio)
blockPercentageRatio
- public String getEngineMemoryUsageWriteOnlyBlockPercentageRatio()
public void setEngineMemoryWriteOnlyCheckPercentageRatio(String writeOnlyCheckPercentageRatio)
writeOnlyCheckPercentageRatio
- public String getEngineMemoryWriteOnlyCheckPercentageRatio()
public void setEngineMemoryUsageLowPercentageRatio(String lowPercentageRatio)
lowPercentageRatio
- public String getEngineMemoryUsageLowPercentageRatio()
public String isEngineMemoryExplicitGSEnabled()
public void setEngineMemoryExplicitGSEnabled(String isMemoryExplicitGSEnabled)
isMemoryExplicitGSEnabled
- public String isEngineMemoryGCBeforeShortageEnabled()
public void setEngineMemoryGCBeforeShortageEnabled(String gcBeforeShortage)
public void setEngineMemoryUsageRetryCount(String retryCount)
public String getEngineMemoryUsageRetryCount()
public void setEngineMemoryUsageEvictionBatchSize(String evictionBatchSize)
evictionBatchSize
- public String getEngineMemoryUsageEvictionBatchSize()
public void setEngineMaxThreads(String maxThreads)
maxThreads
- public String getEngineMaxThreads()
public void setEngineMinThreads(String minThreads)
minThreads
- public String getEngineMinThreads()
public void setDCacheConfigName(String dCacheConfigName)
dCacheConfigName
- public String getDCacheConfigName()
public void setNotifyRetries(String notifyRetries)
notifyRetries
- public String getNotifyRetries()
public void setConnectionRetries(String connectionRetries)
public String getConnectionRetries()
public void setBlobstoreRocksDBAllowDuplicateUIDs(String isEnabled)
public void setSerializationType(int serializationType)
serializationType
- public int getSerializationType()
public boolean isPrivate()
public void setPrivate(boolean isPrivate)
isPrivate
- public void setExpirationTimeInterval(String expirationTimeInterval)
expirationTimeInterval
- public String getExpirationTimeInterval()
public void setExpirationTimeRecentDeletes(String expirationTimeRecentDeletes)
public String getExpirationTimeRecentDeletes()
public void setExpirationTimeRecentUpdate(String expirationTimeRecentUpdates)
public String getExpirationTimeRecentUpdates()
public void setExpirationStaleReplicas(String expirationStaleReplicas)
public String getExpirationStaleReplicas()
public void setSpaceState(String spaceState)
spaceState
- public String getSpaceState()
public void setSchemaName(String schemaName)
schemaName
- public String getSchemaName()
public void setLoadOnStartup(boolean isLoadOnStartup)
isLoadOnStartup
- public boolean isLoadOnStartup()
public void setCacheManagerSize(String cacheManagerSize)
cacheManagerSize
- public String getCacheManagerSize()
public void setCachePolicy(String cachePolicy)
cachePolicy
- public String getCachePolicy()
public boolean isClustered()
public void setClustered(boolean isClustered)
isClustered
- public void setClusterConfigURL(String clusterConfigURL)
clusterConfigURL
- public String getClusterConfigURL()
public void setJMSRmiPort(String rmiPort)
public String getJMSRmiPort()
public void setJMSTopicNames(String topicNames)
topicNames
- public String getJMSTopicNames()
public void setJMSQueueNames(String queueNames)
queueNames
- public String getJMSQueueNames()
public void setCustomProperties(Properties customProperties)
customProperties
- public Properties getCustomProperties()
public void setFiltersInfo(FiltersInfo[] filtersInfo)
filtersInfo
- public void setFilterInfoAt(FiltersInfo filterInfo, int index)
filterInfo
- index
- public FiltersInfo[] getFiltersInfo()
public void setClusterPolicy(ClusterPolicy clusterPolicy)
clusterPolicy
- public ClusterPolicy getClusterPolicy()
public void setDCacheProperties(JSpaceAttributes dCacheProperties)
dCacheProperties
- public JSpaceAttributes getDCacheProperties()
public boolean isMirrorServiceEnabled()
public void setMirrorServiceEnabled(boolean isMirrorServiceEnabled)
isMirrorServiceEnabled
- true if the space has a mirror service enabled, otherwise false
returnedpublic void setMaxClassLoaders(int maxClassLoaders)
public String getMaxClassLoaders()
public void setSupportCodeChange(boolean enableTaskReloading)
public String getSupportCodeChange()
public String getDataSourceClass()
public SpaceInstanceConfig getSpaceInstanceConfig()
public Map<String,SpaceCustomComponent> getCustomComponents()
public SpaceDataSource getSpaceDataSourceInstance()
public String getSpaceDataSourceClassName()
public SpaceSynchronizationEndpoint getSynchronizationEndpointInstance()
public String getSynchronizationEndpointClassName()
public void setDataSourceClass(String className)
className
- public String getDataPropertiesFile()
public void setDataPropertiesFile(String propertiesFile)
propertiesFile
- public String getDataClass()
public String getQueryBuilderClass()
public void setQueryBuilderClass(String className)
className
- public void setDataClass(String className)
className
- public String getUsage()
public void setUsage(String usage)
public boolean isSupportsInheritanceEnabled()
public void setSupportsInheritanceEnabled(boolean isSupportsInheritanceEnabled)
isSupportsInheritanceEnabled
- true if the data source supports inheritance, otherwise
false returnedpublic boolean isSupportsVersionEnabled()
public void setSupportsVersionEnabled(boolean isSupportsVersionEnabled)
isSupportsVersionEnabled
- true if the data source supports version, otherwise false
returnedpublic boolean isSupportsPartialUpdateEnabled()
public void setSupportsPartialUpdateEnabled(boolean isSupportsPartialUpdateEnabled)
public boolean isSupportsRemoveByIdEnabled()
public void setSupportsRemoveByIdEnabled(boolean isSupportsRemoveByIdEnabled)
public boolean getDataSourceSharedIteratorMode()
SQLDataProvider
data sourcespublic void setDataSourceSharedIteratorMode(boolean enabled)
enabled
- true if the data source should be wrapped with a shared iterator decorator
which optimize concurrent read access for SQLDataProvider
data
sourcespublic long getDataSourceSharedIteratorTimeToLive()
public void setDataSourceSharedIteratorTimeToLive(long timeToLive)
timeToLive
- time to live in miliseconds of a shared data iterator, once it has expired
the iterator will no longer be shared by new requestspublic String getProxyConnectionMode()
public void setProxyConnectionMode(String connectionMode)
public long getProxyMonitorFrequency()
public void setProxyMonitorFrequency(long frequency)
public long getProxyDetectorFrequency()
public void setProxyDetectorFrequency(long frequency)
public int getProxyConnectionRetries()
public void setProxyConnectionRetries(int connectionRetries)
@Deprecated public int getBlobStoreCapacityGB()
instead all blobstore
properties is located inside.
@Deprecated public int getBlobStoreCacheCapacityMB()
instead all blobstore
properties is located inside.
@Deprecated public String getBlobStoreDevices()
instead all blobstore
properties is located inside.
@Deprecated public String getBlobStoreVolumeDir()
@Deprecated public String getBlobStoreDurabilityLevel()
instead all blobstore
properties is located inside.
@Deprecated public boolean isBlobstorePersistent()
instead all blobstore
properties is located inside.
@Deprecated public int getBlobStoreCacheSize()
instead all blobstore
properties is located inside.
public Properties getBlobStoreProperties()
public void setBlobStoreProperties(Properties blobstoreProperties)
public int getZookeeperConnectionTimeout()
public void setZookeeperConnectionTimeout(long connectionTimeout)
public int getZookeeperSessionTimeout()
public void setZookeeperSessionTimeout(long sessionTimeout)
public int getZookeeperRetryTimeout()
public void setZookeeperRetryTimeout(long retryTimeout)
public int getZookeeperRetryInterval()
public void setZookeeperRetryInterval(long retryInterval)
public void clear()
public SpaceClusterInfo getClusterInfo()
public void setClusterInfo(SpaceClusterInfo newClusterInfo)
public SpaceConfig cloneAndUpdate(ClusterTopology chunksMap)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.