GigaSpaces XAP 7.0 API

com.j_spaces.core
Class JSpaceAttributes

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by com.j_spaces.core.JSpaceAttributes
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Map<Object,Object>
Direct Known Subclasses:
SpaceConfig

public class JSpaceAttributes
extends Properties
implements Externalizable

JSpaceAttributes that contains all information per space.

Version:
1.0
Author:
Igor Goldenberg
See Also:
Serialized Form

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.
 
Method Summary
 void clear()
          Clears all properties held, including defaults, custom properties, and dcache properties.
 Object clone()
           
 String getCacheManagerSize()
           
 String getCachePolicy()
           
 String getClusterConfigURL()
           
 ClusterPolicy getClusterPolicy()
           
 String getConnectionRetries()
           
 Properties getCustomProperties()
           
 String getDataClass()
           
 String getDataPropertiesFile()
           
 String getDataSourceClass()
           
 boolean getDataSourceSharedIteratorMode()
          Gets shared iterator mode
 long getDataSourceSharedIteratorTimeToLive()
          Get shared iterator time to live
 String getDCacheConfigName()
           
 JSpaceAttributes getDCacheProperties()
           
 String getEngineExtendedMatchClasses()
           
 String getEngineMaxThreads()
           
 String getEngineMemoryUsageEvictionBatchSize()
           
 String getEngineMemoryUsageHighPercentageRatio()
           
 String getEngineMemoryUsageLowPercentageRatio()
           
 String getEngineMemoryUsageRetryCount()
           
 String getEngineMemoryUsageWriteOnlyBlockPercentageRatio()
           
 String getEngineMemoryWriteOnlyCheckPercentageRatio()
           
 String getEngineMinThreads()
           
 String getExpirationTimeInterval()
           
 com.j_spaces.core.filters.FiltersInfo[] getFiltersInfo()
           
 String getInitSAConnections()
           
 String getJMSQueueNames()
           
 String getJMSRmiPort()
           
 String getJMSTopicNames()
           
 String getMaxSAConnections()
           
 String getNotifyRetries()
           
 String getNumberImplicitIndexes()
           
 String getProxyConnectionMode()
           
 int getProxyConnectionRetries()
           
 long getProxyDetectorFrequency()
           
 long getProxyMonitorFrequency()
           
 String getQpDateFormat()
           
 String getQpDateTimeFormat()
           
 int getQpSpaceReadLeaseTime()
           
 long getQpSpaceWriteLeaseTime()
           
 String getQpTimeFormat()
           
 int getQpTransactionTimeout()
           
 String getSchemaName()
           
 int getSerializationType()
           
 String getSpaceState()
           
 String getStorageAdapterClass()
           
 String getStorageAdapterURL()
           
 String getStubHandler()
           
 String getUsage()
          usage
 boolean isClustered()
           
 String isEngineMemoryExplicitGSEnabled()
           
 String isEngineMemoryUsageEnabled()
           
 boolean isLoadOnStartup()
           
 boolean isMirrorServiceEnabled()
          Is mirror service
 boolean isPersistent()
           
 boolean isPrivate()
           
 boolean isQPAutoCommit()
           
 boolean isQPParserCaseSensetivity()
           
 boolean isQPTraceExecTime()
           
 boolean isResetOnFailure()
           
 boolean isSupportsInheritanceEnabled()
          supports-inheritance
 boolean isSupportsVersionEnabled()
          supports-version
 void readExternal(ObjectInput in)
           
 void setCacheManagerSize(String cacheManagerSize)
           
 void setCachePolicy(String cachePolicy)
           
 void setClusterConfigURL(String clusterConfigURL)
           
 void setClustered(boolean isClustered)
           
 void setClusterPolicy(ClusterPolicy clusterPolicy)
           
 void setConnectionRetries(String connectionRetries)
           
 void setCustomProperties(Properties customProperties)
           
 void setDataClass(String className)
           
 void setDataPropertiesFile(String propertiesFile)
           
 void setDataSourceClass(String className)
           
 void setDataSourceSharedIteratorMode(boolean enabled)
          Set shared iterator mode
 void setDataSourceSharedIteratorTimeToLive(long timeToLive)
          Set shared iterator time to live
 void setDCacheConfigName(String dCacheConfigName)
           
 void setDCacheProperties(JSpaceAttributes dCacheProperties)
           
 void setEngineExtendedMatchClasses(String extendedMatchClasses)
           
 void setEngineMaxThreads(String maxThreads)
           
 void setEngineMemoryExplicitGSEnabled(String isMemoryExplicitGSEnabled)
           
 void setEngineMemoryUsageEnabled(String isMemoryUsageEnabled)
           
 void setEngineMemoryUsageEvictionBatchSize(String evictionBatchSize)
           
 void setEngineMemoryUsageHighPercentageRatio(String highPercentageRatio)
           
 void setEngineMemoryUsageLowPercentageRatio(String lowPercentageRatio)
           
 void setEngineMemoryUsageRetryCount(String retryCount)
          * @param retryCount
 void setEngineMemoryUsageWriteOnlyBlockPercentageRatio(String blockPercentageRatio)
           
 void setEngineMemoryWriteOnlyCheckPercentageRatio(String writeOnlyCheckPercentageRatio)
           
 void setEngineMinThreads(String minThreads)
           
 void setExpirationTimeInterval(String expirationTimeInterval)
           
 void setFilterInfoAt(com.j_spaces.core.filters.FiltersInfo filterInfo, int index)
           
 void setFiltersInfo(com.j_spaces.core.filters.FiltersInfo[] filtersInfo)
           
 void setInitSAConnections(String initSAConnections)
           
 void setJMSQueueNames(String queueNames)
           
 void setJMSRmiPort(String rmiPort)
           
 void setJMSTopicNames(String topicNames)
           
 void setLoadOnStartup(boolean isLoadOnStartup)
           
 void setMaxSAConnections(String maxSAConnections)
           
 void setMirrorServiceEnabled(boolean isMirrorServiceEnabled)
          Set mirror service enabled.
 void setNotifyRetries(String notifyRetries)
           
 void setNumberImplicitIndexes(String numberImplicitIndexes)
           
 void setPersistent(boolean isPersistent)
           
 void setPrivate(boolean isPrivate)
           
 Object setProperty(String key, String value)
          Overrides method of super class.
 void setProxyConnectionMode(String connectionMode)
           
 void setProxyConnectionRetries(int connectionRetries)
           
 void setProxyDetectorFrequency(long frequency)
           
 void setProxyMonitorFrequency(long frequency)
           
 void setQPAutoCommit(boolean isQPAutoCommit)
           
 void setQpDateFormat(String qpDateFormat)
           
 void setQpDateTimeFormat(String qpDateTimeFormat)
           
 void setQPParserCaseSensetivity(boolean isQPParserCaseSensetivity)
           
 void setQpSpaceReadLeaseTime(int qpSpaceReadLeaseTime)
           
 void setQpSpaceWriteLeaseTime(long qpSpaceWriteLeaseTime)
           
 void setQpTimeFormat(String qpTimeFormat)
           
 void setQPTraceExecTime(boolean isQPTraceExecTime)
           
 void setQpTransactionTimeout(int qpTransactionTimeout)
           
 void setResetOnFailure(boolean isResetOnFailure)
           
 void setSchemaName(String schemaName)
           
 void setSerializationType(int serializationType)
           
 void setSpaceState(String spaceState)
           
 void setStorageAdapterClass(String storageAdapterClass)
           
 void setStorageAdapterURL(String storageAdapterURL)
           
 void setStubHandler(String stubHandler)
           
 void setSupportsInheritanceEnabled(boolean isSupportsInheritanceEnabled)
          Set supports-inheritance
 void setSupportsVersionEnabled(boolean isSupportsVersionEnabled)
          Set supports-version
 void setUsage(String usage)
          Set data source usage
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
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

m_isClustered

@Deprecated
public boolean m_isClustered
Deprecated. 
Use in methods setClustered(boolean isClustered) and isClustered() instead of referring to this deprecated class member. Should be used for read purposes only, not for update. Updating is performing only by method setClustered(boolean isClustered)

Constructor Detail

JSpaceAttributes

public 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

public JSpaceAttributes()
Default constructor.


JSpaceAttributes

public JSpaceAttributes(String schemaName)
Initialize JSpace attributes.

Parameters:
schemaName - The space/container schema name. If not null we use this schema xml file as the space/container configuration template for this space.

JSpaceAttributes

public JSpaceAttributes(String schemaName,
                        Properties customProperties)
Initialize JSpace attributes.

Parameters:
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.

JSpaceAttributes

public JSpaceAttributes(String schemaName,
                        Properties customProperties,
                        boolean isLoadSpaceOnStartup)
Initialize JSpace attributes.

Parameters:
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 -

JSpaceAttributes

public JSpaceAttributes(String schemaName,
                        boolean isLoadSpaceOnStartup)
Initialize JSpace attributes.

Parameters:
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 -

JSpaceAttributes

public JSpaceAttributes(String schemaName,
                        String clusterConfigURL)
Initialize JSpace attributes.

Parameters:
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.

JSpaceAttributes

public JSpaceAttributes(String schemaName,
                        Properties customProperties,
                        String clusterConfigURL)
Initialize JSpace attributes.

Parameters:
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

setProperty

public Object setProperty(String key,
                          String value)
Overrides method of super class. Checks value for null, only if value is not null appropriate method of parent class will be called. In such way NullPointerException is prevented.

Overrides:
setProperty in class Properties
Parameters:
key - the key to be placed into this property list.
value - the value corresponding to key.

clone

public Object clone()
Overrides:
clone in class Hashtable<Object,Object>

toString

public String toString()
Overrides:
toString in class Hashtable<Object,Object>

isPersistent

public boolean isPersistent()
Returns:

setPersistent

public void setPersistent(boolean isPersistent)
Parameters:
isPersistent -

isQPAutoCommit

public boolean isQPAutoCommit()
Returns:

setQPAutoCommit

public void setQPAutoCommit(boolean isQPAutoCommit)
Parameters:
isQPAutoCommit -

isQPParserCaseSensetivity

public boolean isQPParserCaseSensetivity()
Returns:

setQPParserCaseSensetivity

public void setQPParserCaseSensetivity(boolean isQPParserCaseSensetivity)
Parameters:
isQPParserCaseSensetivity -

isQPTraceExecTime

public boolean isQPTraceExecTime()
Returns:

setQPTraceExecTime

public void setQPTraceExecTime(boolean isQPTraceExecTime)
Parameters:
isQPTraceExecTime -

getQpSpaceReadLeaseTime

public int getQpSpaceReadLeaseTime()
Returns:

setQpSpaceReadLeaseTime

public void setQpSpaceReadLeaseTime(int qpSpaceReadLeaseTime)
Parameters:
qpSpaceReadLeaseTime -

getQpSpaceWriteLeaseTime

public long getQpSpaceWriteLeaseTime()
Returns:

setQpSpaceWriteLeaseTime

public void setQpSpaceWriteLeaseTime(long qpSpaceWriteLeaseTime)
Parameters:
qpSpaceWriteLeaseTime -

getQpTransactionTimeout

public int getQpTransactionTimeout()
Returns:

setQpTransactionTimeout

public void setQpTransactionTimeout(int qpTransactionTimeout)
Parameters:
qpTransactionTimeout -

getQpDateFormat

public String getQpDateFormat()
Returns:

setQpDateFormat

public void setQpDateFormat(String qpDateFormat)
Parameters:
qpDateFormat -

getQpDateTimeFormat

public String getQpDateTimeFormat()
Returns:

setQpDateTimeFormat

public void setQpDateTimeFormat(String qpDateTimeFormat)
Parameters:
qpDateTimeFormat -

getQpTimeFormat

public String getQpTimeFormat()
Returns:

setQpTimeFormat

public void setQpTimeFormat(String qpTimeFormat)
Parameters:
qpTimeFormat -

getStorageAdapterClass

public String getStorageAdapterClass()
Returns:

setStorageAdapterClass

public void setStorageAdapterClass(String storageAdapterClass)
Parameters:
storageAdapterClass -

getStorageAdapterURL

public String getStorageAdapterURL()
Returns:

setStorageAdapterURL

public void setStorageAdapterURL(String storageAdapterURL)
Parameters:
storageAdapterURL -

isEngineMemoryUsageEnabled

public String isEngineMemoryUsageEnabled()

setEngineMemoryUsageEnabled

public void setEngineMemoryUsageEnabled(String isMemoryUsageEnabled)
Parameters:
isMemoryUsageEnabled -

setEngineMemoryUsageHighPercentageRatio

public void setEngineMemoryUsageHighPercentageRatio(String highPercentageRatio)
Parameters:
highPercentageRatio -

getEngineMemoryUsageHighPercentageRatio

public String getEngineMemoryUsageHighPercentageRatio()
Returns:

setEngineMemoryUsageWriteOnlyBlockPercentageRatio

public void setEngineMemoryUsageWriteOnlyBlockPercentageRatio(String blockPercentageRatio)
Parameters:
blockPercentageRatio -

getEngineMemoryUsageWriteOnlyBlockPercentageRatio

public String getEngineMemoryUsageWriteOnlyBlockPercentageRatio()
Returns:

setEngineMemoryWriteOnlyCheckPercentageRatio

public void setEngineMemoryWriteOnlyCheckPercentageRatio(String writeOnlyCheckPercentageRatio)
Parameters:
writeOnlyCheckPercentageRatio -

getEngineMemoryWriteOnlyCheckPercentageRatio

public String getEngineMemoryWriteOnlyCheckPercentageRatio()
Returns:

setEngineMemoryUsageLowPercentageRatio

public void setEngineMemoryUsageLowPercentageRatio(String lowPercentageRatio)
Parameters:
lowPercentageRatio -

getEngineMemoryUsageLowPercentageRatio

public String getEngineMemoryUsageLowPercentageRatio()
Returns:

isEngineMemoryExplicitGSEnabled

public String isEngineMemoryExplicitGSEnabled()
Returns:

setEngineMemoryExplicitGSEnabled

public void setEngineMemoryExplicitGSEnabled(String isMemoryExplicitGSEnabled)
Parameters:
isMemoryExplicitGSEnabled -

setEngineMemoryUsageRetryCount

public void setEngineMemoryUsageRetryCount(String retryCount)
* @param retryCount


getEngineMemoryUsageRetryCount

public String getEngineMemoryUsageRetryCount()
Returns:

setEngineMemoryUsageEvictionBatchSize

public void setEngineMemoryUsageEvictionBatchSize(String evictionBatchSize)
Parameters:
evictionBatchSize -

getEngineMemoryUsageEvictionBatchSize

public String getEngineMemoryUsageEvictionBatchSize()
Returns:

setEngineMaxThreads

public void setEngineMaxThreads(String maxThreads)
Parameters:
maxThreads -

getEngineMaxThreads

public String getEngineMaxThreads()
Returns:

setEngineMinThreads

public void setEngineMinThreads(String minThreads)
Parameters:
minThreads -

getEngineMinThreads

public String getEngineMinThreads()
Returns:

setEngineExtendedMatchClasses

public void setEngineExtendedMatchClasses(String extendedMatchClasses)
Parameters:
extendedMatchClasses -

getEngineExtendedMatchClasses

public String getEngineExtendedMatchClasses()
Returns:

setStubHandler

public void setStubHandler(String stubHandler)
Parameters:
stubHandler -

getStubHandler

public String getStubHandler()
Returns:

setDCacheConfigName

public void setDCacheConfigName(String dCacheConfigName)

getDCacheConfigName

public String getDCacheConfigName()
Returns:

isResetOnFailure

public boolean isResetOnFailure()
Returns:

setResetOnFailure

public void setResetOnFailure(boolean isResetOnFailure)
Parameters:
isResetOnFailure -

setMaxSAConnections

public void setMaxSAConnections(String maxSAConnections)
Parameters:
maxSAConnections -

getMaxSAConnections

public String getMaxSAConnections()
Returns:

setInitSAConnections

public void setInitSAConnections(String initSAConnections)
Parameters:
initSAConnections -

getInitSAConnections

public String getInitSAConnections()
Returns:

setNumberImplicitIndexes

public void setNumberImplicitIndexes(String numberImplicitIndexes)
Parameters:
numberImplicitIndexes -

getNumberImplicitIndexes

public String getNumberImplicitIndexes()
Returns:

setNotifyRetries

public void setNotifyRetries(String notifyRetries)
Parameters:
notifyRetries -

getNotifyRetries

public String getNotifyRetries()
Returns:

setConnectionRetries

public void setConnectionRetries(String connectionRetries)
Parameters:
connectionRetries -

getConnectionRetries

public String getConnectionRetries()
Returns:

setSerializationType

public void setSerializationType(int serializationType)
Parameters:
serializationType -

getSerializationType

public int getSerializationType()
Returns:

isPrivate

public boolean isPrivate()
Returns:

setPrivate

public void setPrivate(boolean isPrivate)
Parameters:
isPrivate -

setExpirationTimeInterval

public void setExpirationTimeInterval(String expirationTimeInterval)
Parameters:
expirationTimeInterval -

getExpirationTimeInterval

public String getExpirationTimeInterval()
Returns:

setSpaceState

public void setSpaceState(String spaceState)
Parameters:
spaceState -

getSpaceState

public String getSpaceState()
Returns:

setSchemaName

public void setSchemaName(String schemaName)
Parameters:
schemaName -

getSchemaName

public String getSchemaName()
Returns:

setLoadOnStartup

public void setLoadOnStartup(boolean isLoadOnStartup)
Parameters:
isLoadOnStartup -

isLoadOnStartup

public boolean isLoadOnStartup()
Returns:

setCacheManagerSize

public void setCacheManagerSize(String cacheManagerSize)
Parameters:
cacheManagerSize -

getCacheManagerSize

public String getCacheManagerSize()
Returns:
max cache size

setCachePolicy

public void setCachePolicy(String cachePolicy)
Parameters:
cachePolicy -

getCachePolicy

public String getCachePolicy()
Returns:

isClustered

public boolean isClustered()
Returns:

setClustered

public void setClustered(boolean isClustered)
Parameters:
isClustered -

setClusterConfigURL

public void setClusterConfigURL(String clusterConfigURL)
Parameters:
clusterConfigURL -

getClusterConfigURL

public String getClusterConfigURL()
Returns:

setJMSRmiPort

public void setJMSRmiPort(String rmiPort)

getJMSRmiPort

public String getJMSRmiPort()
Returns:

setJMSTopicNames

public void setJMSTopicNames(String topicNames)
Parameters:
topicNames -

getJMSTopicNames

public String getJMSTopicNames()
Returns:

setJMSQueueNames

public void setJMSQueueNames(String queueNames)
Parameters:
queueNames -

getJMSQueueNames

public String getJMSQueueNames()
Returns:

setCustomProperties

public void setCustomProperties(Properties customProperties)
Parameters:
customProperties -

getCustomProperties

public Properties getCustomProperties()
Returns:

setFiltersInfo

public void setFiltersInfo(com.j_spaces.core.filters.FiltersInfo[] filtersInfo)
Parameters:
filtersInfo -

setFilterInfoAt

public void setFilterInfoAt(com.j_spaces.core.filters.FiltersInfo filterInfo,
                            int index)
Parameters:
filterInfo -
index -

getFiltersInfo

public com.j_spaces.core.filters.FiltersInfo[] getFiltersInfo()
Returns:

setClusterPolicy

public void setClusterPolicy(ClusterPolicy clusterPolicy)
Parameters:
clusterPolicy -

getClusterPolicy

public ClusterPolicy getClusterPolicy()
Returns:

setDCacheProperties

public void setDCacheProperties(JSpaceAttributes dCacheProperties)
Parameters:
dCacheProperties -

getDCacheProperties

public JSpaceAttributes getDCacheProperties()
Returns:

isMirrorServiceEnabled

public boolean isMirrorServiceEnabled()
Is mirror service

Returns:
true if the space has a mirror service enabled, otherwise false returned

setMirrorServiceEnabled

public void setMirrorServiceEnabled(boolean isMirrorServiceEnabled)
Set mirror service enabled.

Parameters:
isMirrorServiceEnabled - true if the space has a mirror service enabled, otherwise false returned

getDataSourceClass

public String getDataSourceClass()
Returns:

setDataSourceClass

public void setDataSourceClass(String className)
Parameters:
className -

getDataPropertiesFile

public String getDataPropertiesFile()
Returns:

setDataPropertiesFile

public void setDataPropertiesFile(String propertiesFile)
Parameters:
propertiesFile -

getDataClass

public String getDataClass()
Returns:

setDataClass

public void setDataClass(String className)
Parameters:
className -

getUsage

public String getUsage()
usage

Returns:

setUsage

public void setUsage(String usage)
Set data source usage

Parameters:
usage -

isSupportsInheritanceEnabled

public boolean isSupportsInheritanceEnabled()
supports-inheritance

Returns:
true if the data source support inheritance , otherwise false returned

setSupportsInheritanceEnabled

public void setSupportsInheritanceEnabled(boolean isSupportsInheritanceEnabled)
Set supports-inheritance

Parameters:
isSupportsInheritanceEnabled - true if the data source supports inheritance, otherwise false returned

isSupportsVersionEnabled

public boolean isSupportsVersionEnabled()
supports-version

Returns:
true if the data source support version, otherwise false returned

setSupportsVersionEnabled

public void setSupportsVersionEnabled(boolean isSupportsVersionEnabled)
Set supports-version

Parameters:
isSupportsVersionEnabled - true if the data source supports version, otherwise false returned

getDataSourceSharedIteratorMode

public boolean getDataSourceSharedIteratorMode()
Gets shared iterator mode

Returns:
true if the data source should be wrapped with a shared iterator decorator which optimize concurrent read access for SQLDataProvider data sources

setDataSourceSharedIteratorMode

public void setDataSourceSharedIteratorMode(boolean enabled)
Set shared iterator mode

Parameters:
enabled - true if the data source should be wrapped with a shared iterator decorator which optimize concurrent read access for SQLDataProvider data sources

getDataSourceSharedIteratorTimeToLive

public long getDataSourceSharedIteratorTimeToLive()
Get shared iterator time to live

Returns:
time to live in miliseconds of a shared data iterator, once it has expired the iterator will no longer be shared by new requests

setDataSourceSharedIteratorTimeToLive

public void setDataSourceSharedIteratorTimeToLive(long timeToLive)
Set shared iterator time to live

Parameters:
timeToLive - time to live in miliseconds of a shared data iterator, once it has expired the iterator will no longer be shared by new requests

getProxyConnectionMode

public String getProxyConnectionMode()
Returns:

setProxyConnectionMode

public void setProxyConnectionMode(String connectionMode)
Parameters:
connectionMode -

getProxyMonitorFrequency

public long getProxyMonitorFrequency()
Returns:

setProxyMonitorFrequency

public void setProxyMonitorFrequency(long frequency)
Parameters:
frequency -

getProxyDetectorFrequency

public long getProxyDetectorFrequency()
Returns:

setProxyDetectorFrequency

public void setProxyDetectorFrequency(long frequency)
Parameters:
frequency -

getProxyConnectionRetries

public int getProxyConnectionRetries()
Returns:

setProxyConnectionRetries

public void setProxyConnectionRetries(int connectionRetries)
Parameters:
connectionRetries -

clear

public void clear()
Clears all properties held, including defaults, custom properties, and dcache properties.

Specified by:
clear in interface Map<Object,Object>
Overrides:
clear in class Hashtable<Object,Object>

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.