|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<Object,Object> java.util.Properties com.j_spaces.core.JSpaceAttributes
public class JSpaceAttributes
JSpaceAttributes that contains all information per space.
Field Summary | |
---|---|
boolean |
m_isClustered
Deprecated. |
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
JSpaceAttributes()
Default constructor. |
|
JSpaceAttributes(Properties prop)
Indicate if this configuration arrived from space MBean TODO This is temporary issue; remove it after migrating to fully property-based configuration. |
|
JSpaceAttributes(String schemaName)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
boolean isLoadSpaceOnStartup)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
Properties customProperties)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
Properties customProperties,
boolean isLoadSpaceOnStartup)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
Properties customProperties,
String clusterConfigURL)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
String clusterConfigURL)
Initialize JSpace attributes. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, store, storeToXML, storeToXML |
Methods inherited from class java.util.Hashtable |
---|
contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@Deprecated public boolean m_isClustered
Constructor Detail |
---|
public JSpaceAttributes(Properties prop)
public JSpaceAttributes()
public JSpaceAttributes(String schemaName)
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, Properties customProperties)
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, 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.isLoadSpaceOnStartup
- 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.isLoadSpaceOnStartup
- 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 JSpaceAttributes(String schemaName, Properties customProperties, 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.customProperties
- if passed we use it to overwrite the space/container JProperties.clusterConfigURL
- URL to cluster configuration file.Method Detail |
---|
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 Object clone()
clone
in class Hashtable<Object,Object>
public String toString()
toString
in class Hashtable<Object,Object>
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 getStorageAdapterClass()
public void setStorageAdapterClass(String storageAdapterClass)
storageAdapterClass
- public String getStorageAdapterURL()
public void setStorageAdapterURL(String storageAdapterURL)
storageAdapterURL
- 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 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 setEngineExtendedMatchClasses(String extendedMatchClasses)
extendedMatchClasses
- public String getEngineExtendedMatchClasses()
public void setStubHandler(String stubHandler)
stubHandler
- public String getStubHandler()
public void setDCacheConfigName(String dCacheConfigName)
public String getDCacheConfigName()
public boolean isResetOnFailure()
public void setResetOnFailure(boolean isResetOnFailure)
isResetOnFailure
- public void setMaxSAConnections(String maxSAConnections)
maxSAConnections
- public String getMaxSAConnections()
public void setInitSAConnections(String initSAConnections)
initSAConnections
- public String getInitSAConnections()
public void setNumberImplicitIndexes(String numberImplicitIndexes)
numberImplicitIndexes
- public String getNumberImplicitIndexes()
public void setNotifyRetries(String notifyRetries)
notifyRetries
- public String getNotifyRetries()
public void setConnectionRetries(String connectionRetries)
connectionRetries
- public String getConnectionRetries()
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 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(com.j_spaces.core.filters.FiltersInfo[] filtersInfo)
filtersInfo
- public void setFilterInfoAt(com.j_spaces.core.filters.FiltersInfo filterInfo, int index)
filterInfo
- index
- public com.j_spaces.core.filters.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 String getDataSourceClass()
public void setDataSourceClass(String className)
className
- public String getDataPropertiesFile()
public void setDataPropertiesFile(String propertiesFile)
propertiesFile
- public String getDataClass()
public void setDataClass(String className)
className
- public String getUsage()
public void setUsage(String usage)
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 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)
connectionMode
- public long getProxyMonitorFrequency()
public void setProxyMonitorFrequency(long frequency)
frequency
- public long getProxyDetectorFrequency()
public void setProxyDetectorFrequency(long frequency)
frequency
- public int getProxyConnectionRetries()
public void setProxyConnectionRetries(int connectionRetries)
connectionRetries
- public void clear()
clear
in interface Map<Object,Object>
clear
in class Hashtable<Object,Object>
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
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |