|
|||||||||
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. |
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,
int spacePort)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
String clusterConfigURL)
Initialize JSpace attributes. |
|
JSpaceAttributes(String schemaName,
String clusterConfigURL,
int spacePort)
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 |
---|
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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, String clusterConfigURL, int spacePort)
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.spacePort
- Creates a Space, bound to the specified TCP/IP port. A port of 0 creates a Space on any free TCP/IP port.public JSpaceAttributes(String schemaName, Properties customProperties, String clusterConfigURL, int spacePort)
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.spacePort
- Creates a Space, bound to the specified TCP/IP port. A port of 0 creates a Space on any free TCP/IP port.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 boolean isSpaceDefinitionEqual(JSpaceAttributes spaceAttr)
spaceAttr
-
public String toString()
toString
in class Hashtable<Object,Object>
public int getCheckPointPeriod()
public void setCheckPointPeriod(int checkPointPeriod)
checkPointPeriod
- public String getDbPassword()
public void setDbPassword(String dbPassword)
dbPassword
- public String getDbUserName()
public void setDbUserName(String dbUserName)
dbUserName
- public boolean isSyncOnCommit()
public void setSyncOnCommit(boolean isSyncOnCommit)
isSyncOnCommit
- public int getNumberSyncObjects()
public void setNumberSyncObjects(int numberSyncObjects)
numberSyncObjects
- public int getPagePoolSize()
public void setPagePoolSize(int pagePoolSize)
pagePoolSize
- public String getDbName()
public void setDbName(String dbName)
dbName
- public String getAdapterType()
public void setAdapterType(String type)
type
- public String getCacheLoaderClass()
public void setCacheLoaderClass(String className)
className
- public boolean isPersistent()
public void setPersistent(boolean isPersistent)
isPersistent
- public boolean isQPAutoCommit()
public void setQPAutoCommit(boolean isQPAutoCommit)
isQPAutoCommit
- public boolean isQPInitJMX()
public void setQPInitJMX(boolean isQPInitJMX)
isQPInitJMX
- public boolean isQPParserCaseSensetivity()
public void setQPParserCaseSensetivity(boolean isQPParserCaseSensetivity)
isQPParserCaseSensetivity
- public boolean isQPTraceExecTime()
public void setQPTraceExecTime(boolean isQPTraceExecTime)
isQPTraceExecTime
- public int getQpMaxJDBCClientConnections()
public void setQpMaxJDBCClientConnections(int qpMaxJDBCClientConnections)
qpMaxJDBCClientConnections
- public int getQpMinJDBCClientConnections()
public void setQpMinJDBCClientConnections(int qpMinJDBCClientConnections)
qpMinJDBCClientConnections
- public int getQpPort()
public int getQpPort(int defaultValue)
defaultValue
-
public void setQpPort(int qpPort)
qpPort
- 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 setSSLKeyStore(String sslKeyStore)
public String getSSLKeyStore()
public void setSSLTrustStore(String sslTrustStore)
sslTrustStore
- public String getSSLTrustStore()
public void setSSLPassword(String sslPassword)
sslPassword
- public String getSSLPassword()
public void setStubHandler(String stubHandler)
sslStubHandler
- public String getStubHandler()
public String isSSLEnabled()
public void setSSLEnabled(String isSSLEnabled)
isSSLEnabled
- public void setLRMIServerPort(String serverPort)
public String getLRMIServerPort()
public void setLRMIClientPort(String clientPort)
clientPort
- public String getLRMIClientPort()
public void setLRMIProtocolName(String protocolName)
protocolName
- public String getLRMIProtocolName()
public boolean isLRMIMultiplexConnection()
public void setLRMIMultiplexConnection(boolean isMultiplexConnection)
isMultiplexConnection
- public void setDCacheConfigName(String dCacheConfigName)
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.tools.filters.FiltersInfo[] filtersInfo)
filtersInfo
- public void setFilterInfoAt(com.j_spaces.tools.filters.FiltersInfo filterInfo, int index)
filterInfo
- index
- public com.j_spaces.tools.filters.FiltersInfo[] getFiltersInfo()
public void setClusterPolicy(ClusterPolicy clusterPolicy)
clusterPolicy
- public ClusterPolicy getClusterPolicy()
public void setDCacheProperties(JSpaceAttributes dCacheProperties)
dCacheProperties
- public JSpaceAttributes getDCacheProperties()
public void setEntityClass(String className)
className
- public String getEntityClass()
public boolean isMirrorServiceEnabled()
public void setMirrorServiceEnabled(boolean isMirrorServiceEnabled)
isMirrorServiceEnabled
- true if the space
has a mirror service enabled, otherwise false returned
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |