|
GigaSpaces XAP 9.7.2 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 com.j_spaces.core.admin.SpaceConfig
public class SpaceConfig
This structure contains all information about space configuration.
SpaceConfig
builds inside of Server and transfered to the
side of client.
IRemoteJSpaceAdmin.getConfig()
,
Serialized FormField Summary |
---|
Fields inherited from class com.j_spaces.core.JSpaceAttributes |
---|
m_isClustered |
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
void |
setSchemaPath(String schemaName)
Sets space schema file path |
void |
setSpaceName(String spaceName)
Set the space name. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class com.j_spaces.core.JSpaceAttributes |
---|
clear, clone, getCacheManagerSize, getCachePolicy, getClusterConfigURL, getClusterPolicy, getConnectionRetries, getCustomProperties, getDataClass, getDataPropertiesFile, getDataSourceClass, getDataSourceSharedIteratorMode, getDataSourceSharedIteratorTimeToLive, getDCacheConfigName, getDCacheProperties, getEngineMaxThreads, getEngineMemoryUsageEvictionBatchSize, getEngineMemoryUsageHighPercentageRatio, getEngineMemoryUsageLowPercentageRatio, getEngineMemoryUsageRetryCount, getEngineMemoryUsageWriteOnlyBlockPercentageRatio, getEngineMemoryWriteOnlyCheckPercentageRatio, getEngineMinThreads, getExpirationStaleReplicas, getExpirationTimeInterval, getExpirationTimeRecentDeletes, getExpirationTimeRecentUpdates, getFiltersInfo, getGatewaysPolicy, getJMSQueueNames, getJMSRmiPort, getJMSTopicNames, getNotifyRetries, getNumberImplicitIndexes, getProxyConnectionMode, getProxyConnectionRetries, getProxyDetectorFrequency, getProxyMonitorFrequency, getQpDateFormat, getQpDateTimeFormat, getQpSpaceReadLeaseTime, getQpSpaceWriteLeaseTime, getQpTimeFormat, getQpTransactionTimeout, getQueryBuilderClass, getSchemaName, getSerializationType, getSpaceDataSourceClassName, getSpaceDataSourceInstance, getSpaceState, getStorageAdapterClass, getStubHandler, getSynchronizationEndpointClassName, getSynchronizationEndpointInstance, getUsage, isClustered, isEngineMemoryExplicitGSEnabled, isEngineMemoryGCBeforeShortageEnabled, isEngineMemoryUsageEnabled, isLoadOnStartup, isMirrorServiceEnabled, isPersistent, isPrivate, isQPAutoCommit, isQPParserCaseSensetivity, isQPTraceExecTime, isSupportsInheritanceEnabled, isSupportsPartialUpdateEnabled, isSupportsRemoveByIdEnabled, isSupportsVersionEnabled, setCacheManagerSize, setCachePolicy, setClusterConfigURL, setClustered, 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, setJMSQueueNames, setJMSRmiPort, setJMSTopicNames, setLoadOnStartup, setMirrorServiceEnabled, setNotifyRetries, setNumberImplicitIndexes, setPersistent, setPrivate, setProxyConnectionMode, setProxyConnectionRetries, setProxyDetectorFrequency, setProxyMonitorFrequency, setQPAutoCommit, setQpDateFormat, setQpDateTimeFormat, setQPParserCaseSensetivity, setQpSpaceReadLeaseTime, setQpSpaceWriteLeaseTime, setQpTimeFormat, setQPTraceExecTime, setQpTransactionTimeout, setQueryBuilderClass, setSchemaName, setSerializationType, setSpaceState, setStorageAdapterClass, setStubHandler, setSupportsInheritanceEnabled, setSupportsPartialUpdateEnabled, setSupportsRemoveByIdEnabled, setSupportsVersionEnabled, setUsage |
Methods inherited from class java.util.Properties |
---|
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
contains, 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 |
Constructor Detail |
---|
public 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 fileMethod Detail |
---|
public 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 Properties
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public Object setProperty(String key, String value)
setProperty
in class com.j_spaces.core.JSpaceAttributes
public String getPropertyFromSuper(String key)
key
- the property key.
public String toString()
toString
in class com.j_spaces.core.JSpaceAttributes
public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
containsKey
in class Hashtable<Object,Object>
public String getContainerName()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class com.j_spaces.core.JSpaceAttributes
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class com.j_spaces.core.JSpaceAttributes
IOException
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |