|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerProperties
The set of properties used to define the behavior of the ObjectGrid server runtime.
Field Summary | |
---|---|
static String |
DEFAULT_ZONE
The name of the zone that all containers that do not specify a zone are in. |
static String |
PROP_CATALOG_SERVICE_ENDPOINTS
Sets the end points to connect to the catalog service grid. |
static String |
PROP_ENABLE_CHANNEL_FRAMEWORK
Sets the TransportMode on the IBM ORB properties to ChannelFramework |
static String |
PROP_ENABLE_EXTREMEMEMORY
Enables the eXtremeMemory memory storage mode for the server. |
static String |
PROP_ENABLE_MBEANS
Determines whether or not the ObjectGrid will register MBeans in this process. |
static String |
PROP_HAMANAGERPORT
Defines the port number the High Availability Manager will use. |
static String |
PROP_JMX_CONNECTOR_PORT
The property that defines which SSL port the JMX service will bind to |
static String |
PROP_JMX_SERVICE_PORT
The property that defines which port the JMX service will bind to |
static String |
PROP_JVM_STATS_ENABLED
When set to true, enables log data for the JVM to be written to a CSV file. |
static String |
PROP_JVM_STATS_FILE_NAME
Specifies the file name of the CSV statistics file for the JVM. |
static String |
PROP_JVM_STATS_WRITE_RATE
Specifies the write rate of the CSV statistics files for the JVM in seconds. |
static String |
PROP_LISTENER_HOST
Sets the host name that the ORB should bind to. |
static String |
PROP_LISTENER_PORT
Sets the port that the ORB should bind to. |
static String |
PROP_MAP_STATS_ENABLED
When set to true, enables log data for the Map to be written to a CSV file. |
static String |
PROP_MAP_STATS_FILE_NAME
Specifies the file name of the CSV statistics file for the Map Stats. |
static String |
PROP_MAP_STATS_WRITE_RATE
Specifies the write rate of the CSV statistics files for the Map Stats in seconds. |
static String |
PROP_MAX_JVM_STATS_FILE_SIZE
Indicates the maximum file size, in megabytes, of the CSV statistics files for the JVM. |
static String |
PROP_MAX_JVM_STATS_FILES
Indicates the maximum number of CSV statistics files that are generated for the JVM Stats. |
static String |
PROP_MAX_MAP_STATS_FILE_SIZE
Indicates the maximum file size, in megabytes, of the CSV statistics files for the Map Stats. |
static String |
PROP_MAX_MAP_STATS_FILES
Indicates the maximum number of CSV statistics files that are generated for the Map Stats. |
static String |
PROP_MAX_OG_STATS_FILE_SIZE
Indicates the maximum file size, in megabytes, of the CSV statistics files for the Object Grid Stats. |
static String |
PROP_MAX_OG_STATS_FILES
Indicates the maximum number of CSV statistics files that are generated for the Object Grid Stats. |
static String |
PROP_MAXIMUM_EXTREMEMEMORY_SIZE
Sets the maximum amount of eXtremeMemory (in megabytes) to allocate when eXtremeMemory is enabled. |
static String |
PROP_MAXIMUM_THREAD_POOL_SIZE
Sets the minimum thread pool size used by the server and client runtimes in this process |
static String |
PROP_MAXIMUM_XIO_NETWORK_THREAD_POOL_SIZE
Sets the maximum number of threads to allocate in the eXtremeIO transport network thread pool. |
static String |
PROP_MAXIMUM_XIO_WORKER_THREAD_POOL_SIZE
Sets the maximum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
static String |
PROP_MEMORY_USAGE_THRESHOLD
Sets the memory threshold (percentage of max heap) for memory based eviciton |
static String |
PROP_MINIMUM_THREAD_POOL_SIZE
Sets the minimum thread pool size used by the server and client runtimes in this process |
static String |
PROP_MINIMUM_XIO_NETWORK_THREAD_POOL_SIZE
Sets the minimum number of threads to allocate in the eXtremeIO transport network thread pool. |
static String |
PROP_MINIMUM_XIO_WORKER_THREAD_POOL_SIZE
Sets the minimum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
static String |
PROP_OG_STATS_ENABLED
When set to true, enables log data for the Map to be written to a CSV file. |
static String |
PROP_OG_STATS_FILE_NAME
Specifies the file name of the CSV statistics file for the Object Grid Stats. |
static String |
PROP_OG_STATS_WRITE_RATE
Specifies the write rate of the CSV statistics files for the Object Grid Stats in seconds. |
static String |
PROP_SERVER_NAME
Defines the name the server should use to identify itself. |
static String |
PROP_STATS_SPEC
The statistics specification that the ObjectGrid should use for metric gathering. |
static String |
PROP_SYSTEM_STREAM_TO_FILE_ENABLED
Defines whether SystemOut and SystemErr should be sent to file or not. |
static String |
PROP_TRACE_FILE
The name of the file that trace output should be sent to. |
static String |
PROP_TRACE_SPEC
The trace specification that the ObjectGrid server should use initially. |
static String |
PROP_WORKING_DIRECTORY
The property that defines which directory the ObjectGrid server should use for all default settings. |
static String |
PROP_XIOCHANNEL_PREFIX
The property prefix to use for all eXtremeIO transport channel properties. |
static String |
PROP_XIOCHANNELNAME_CONTAINER_TCP_NON_SECURE
The eXtremeIO transport channel property name for non-secure TCP. |
static String |
PROP_XIOCHANNELNAME_CONTAINER_TCP_SECURE
The eXtremeIO transport channel property name for non-secure TCP. |
static String |
PROP_XIOCHANNELPROP_PORT
The eXtremeIO channel property to identify the port. |
static String |
PROP_ZONE_NAME
Defines the name of the zone this server belongs to. |
static int |
REPLICATION_IDLE_LEVEL_NONE
Constant representing a replication idle level that is turned off. |
static int |
REPLICATION_IDLE_LEVEL_RELAXED
Constant representing a replication idle level at a relaxed rate. |
static int |
REPLICATION_IDLE_LEVEL_SHORT
Constant representing a replication idle level at a short sleep. |
Method Summary | |
---|---|
String |
getCatalogServiceBootstrap()
Retrieves the catalog service corbaloc string. |
int |
getHAManagerPort()
Retrieve the High Availability Manager (HA Manager) port. |
int |
getJMXConnectorPort()
Retrieves the JMX connector port that the JMX service is to bind to. |
int |
getJMXServicePort()
Retrieves the port to be used by the JMX connection. |
String |
getJvmStatsFileName()
Gets JVM Stats file name |
int |
getJvmStatsWriteRate()
Gets the write rate of the CSV statistics files for the JVM in seconds. |
String |
getListenerHost()
Retrieves the host to be used by the ORB. |
int |
getListenerPort()
Retrieves the port to be used by the ORB. |
String |
getMapStatsFileName()
Gets the file name of the CSV statistics file for the Map. |
int |
getMapStatsWriteRate()
Gets the write rate of the CSV statistics files for the Map in seconds. |
int |
getMaximumJVMStatsFiles()
Indicates the maximum number of CSV statistics files that are generated for the JVM Stats. |
int |
getMaximumJVMStatsFileSize()
Gets the maximum file size, in megabytes, of the CSV statistics files for the JVM. |
int |
getMaximumMapStatsFiles()
Indicates the maximum number of CSV statistics files that are generated for the Map Stats. |
int |
getMaximumMapStatsFileSize()
Gets the maximum file size, in megabytes, of the CSV statistics files for the Map. |
int |
getMaximumOGStatsFiles()
Indicates the maximum number of CSV statistics files that are generated for the ObjectGrid Stats. |
int |
getMaximumOGStatsFileSize()
Gets the maximum file size, in megabytes, of the CSV statistics files for the ObjectGrid. |
int |
getMaximumThreadPoolSize()
Retrieve the maximum number of pooled threads. |
int |
getMaximumXIONetworkThreads()
Sets the maximum number of threads to allocate in the eXtremeIO transport network thread pool. |
int |
getMaximumXIOWorkerThreads()
Sets the maximum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
int |
getMaximumXMSize()
Retrieves the maximum amount of eXtremeMemory (in megabytes) to allocate when eXtremeMemory is enabled. |
int |
getMemoryThresholdPercentage()
Gets the memory threshold usage percentage, -1 indicates that it was not set. |
int |
getMinimumThreadPoolSize()
Retrieve the minimum number of pooled threads. |
int |
getMinimumXIONetworkThreads()
Sets the minimum number of threads to allocate in the eXtremeIO transport network thread pool. |
int |
getMinimumXIOWorkerThreads()
Retrieves the minimum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
String |
getOGStatsFileName()
Gets the file name of the CSV statistics file for the ObjectGrid. |
int |
getOGStatsWriteRate()
Gets the write rate of the CSV statistics files for the ObjectGrid in seconds. |
String |
getServerName()
Retrieves the name used in identifying this server. |
String |
getStatsSpecification()
Retrieves the statistics specification that this process should start with. |
String |
getTraceFileName()
Retrieves a reference to the file name the server will use for trace. |
String |
getTraceSpecification()
Retrieves the initial trace specification the server should use. |
String |
getWorkingDirectory()
Retrieves the working directory for the ObjectGrid server runtime. |
Map<String,Properties> |
getXIOChannelProps()
Returns a copy of the map of overriding properties for all channels. |
String |
getZoneName()
Retrieve the zone name. |
boolean |
isChannelFrameworkEnabled()
Returns if the ChannelFramework setting was enabled for the TransportMode on the IBM ORB properties |
boolean |
isEnableXM()
Answers true if eXtremeMemory is enabled. |
boolean |
isJvmStatsLoggingEnabled()
Gets whether of not log data for the JVM will to be written to a CSV file. |
boolean |
isMapStatsLoggingEnabled()
Gets whether of not log data for the Map will to be written to a CSV file. |
boolean |
isMBeanEnabled()
Retrieves whether or not the MBeans are going to be registered. |
boolean |
isOGStatsLoggingEnabled()
Gets whether of not log data for the ObjectGrid will to be written to a CSV file. |
boolean |
isServer()
Answers whether or not this process is configured to be an ObjectGrid server process. |
boolean |
isSystemStreamToFileEnabled()
Retrieves the stream to file setting. |
void |
load(InputStream input)
Loads the properties from input into this property object. |
void |
setCatalogServiceBootstrap(String catalogServiceAddress)
Sets the catalog service grid addresses in the form [host:port,host:port,...]. |
void |
setChannelFramework(boolean enableChannelFramework)
Sets the TransportMode on the IBM ORB properties to ChannelFramework |
void |
setEnableXM(boolean enableXM)
Enables the eXtremeMemory memory storage mode for the server. |
void |
setHAManagerPort(int port)
Sets the port number for the High Availability Manager (HA Manager). |
void |
setJMXConnectorPort(int jmxConnectorPort)
Assigns the JMX connector port that the JMX service is to bind to. |
void |
setJMXServicePort(int jmxServicePort)
Assigns the port that the JMX service is to bind to. |
void |
setJvmStatsFileName(String jvmStatsFileName)
Specifies the file name of the CSV statistics file for the JVM. |
void |
setJvmStatsLoggingEnabled(boolean jvmStatsLoggingEnabled)
When set to true, enables log data for the JVM to be written to a CSV file. |
void |
setJvmStatsWriteRate(int jvmStatsWriteRate)
Sets the write rate of the CSV statistics files for the JVM in seconds. |
void |
setListenerHost(String listenerHost)
Assigns the host that the ORB is to bind to. |
void |
setListenerPort(int listenerPort)
Assigns the port that the ORB is to bind to. |
void |
setMapStatsFileName(String mapStatsFileName)
Specifies the file name of the CSV statistics file for the Map. |
void |
setMapStatsLoggingEnabled(boolean mapStatsLoggingEnabled)
When set to true, enables log data for the Map to be written to a CSV file. |
void |
setMapStatsWriteRate(int mapStatsWriteRate)
Sets the write rate of the CSV statistics files for the Map in seconds. |
void |
setMaximumJVMStatsFiles(int maximumJVMStatsFiles)
Sets the maximum number of CSV statistics files that are generated for the JVM Stats. |
void |
setMaximumJVMStatsFileSize(int maximumJVMStatsFileSize)
Sets the maximum file size, in megabytes, of the CSV statistics files for the JVM. |
void |
setMaximumMapStatsFiles(int maximumMapStatsFiles)
Sets the maximum number of CSV statistics files that are generated for the Map Stats. |
void |
setMaximumMapStatsFileSize(int maximumMapStatsFileSize)
Sets the maximum file size, in megabytes, of the CSV statistics files for the Map. |
void |
setMaximumOGStatsFiles(int maximumOGStatsFiles)
Sets the maximum number of CSV statistics files that are generated for the ObjectGrid Stats. |
void |
setMaximumOGStatsFileSize(int maximumOGStatsFileSize)
Sets the maximum file size, in megabytes, of the CSV statistics files for the ObjectGrid. |
void |
setMaximumThreadPoolSize(int maxNumThreads)
Sets the maximum number of threads in the pool. |
void |
setMaximumXIONetworkThreads(int maxThreads)
Retrieves the maximum number of threads to allocate in the eXtremeIO transport network thread pool. |
void |
setMaximumXIOWorkerThreads(int maxThreads)
Retrieves the maximum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
void |
setMaximumXMSize(int sizeInMegabytes)
Sets the maximum amount of eXtremeMemory (in megabytes) to allocate when eXtremeMemory is enabled. |
void |
setMBeansEnabled(boolean enableMBeans)
Enables or disables ObjectGrid MBean registration for this process. |
void |
setMemoryThresholdPercentage(int threshold)
Sets the memory threshold usage percentage, (set up to 100% ). |
void |
setMinimumThreadPoolSize(int minNumThreads)
Sets the minimum number of threads in the pool. |
void |
setMinimumXIONetworkThreads(int minThreads)
Retrieves the minimum number of threads to allocate in the eXtremeIO transport network thread pool. |
void |
setMinimumXIOWorkerThreads(int minThreads)
Sets the minimum number of threads to allocate in the eXtremeIO transport request processing thread pool. |
void |
setOGStatsFileName(String ogStatsFileName)
Specifies the file name of the CSV statistics file for the ObjectGrid. |
void |
setOGStatsLoggingEnabled(boolean ogStatsLoggingEnabled)
When set to true, enables log data for the ObjectGrid to be written to a CSV file. |
void |
setOGStatsWriteRate(int ogStatsWriteRate)
Sets the write rate of the CSV statistics files for the ObjectGrid in seconds. |
void |
setServerName(String serverName)
Sets the name used to identify this process. |
void |
setStatsSpecification(String statsSpecification)
Sets the initial statistics specification that the ObjectGrid server should start with. |
void |
setSystemStreamsToFileEnabled(boolean streamsToFile)
Sets the trace logic to write SystemOut and SystemErr to file, or not write to file. |
void |
setTraceFileName(String traceFileName)
Assigns the file to use for logging trace. |
void |
setTraceSpecification(String traceSpecification)
Assigns the specification that the server should use on initialization. |
void |
setWorkingDirectory(String workingDirectory)
Sets the working directory for the ObjectGrid server runtime to use. |
void |
setXIOChannelProps(Map<String,? extends Properties> channelProperties)
Sets the channel properties for the eXtremeIO transport, replacing all current channel properties with the specified map of properties. |
void |
setZoneName(String zoneName)
Sets the zone that this server belongs to. |
void |
store(OutputStream output)
Writes the properties from this object into output . |
Field Detail |
---|
static final String DEFAULT_ZONE
setZoneName(String)
,
Constant Field Valuesstatic final String PROP_SERVER_NAME
setServerName(String)
,
Constant Field Valuesstatic final String PROP_ZONE_NAME
setZoneName(String)
,
Constant Field Valuesstatic final String PROP_WORKING_DIRECTORY
setWorkingDirectory(String)
,
Constant Field Valuesstatic final String PROP_TRACE_SPEC
ObjectGridManager.setTraceSpecification(String)
,
Constant Field Valuesstatic final String PROP_TRACE_FILE
ObjectGridManager.setTraceFileName(String)
,
Constant Field Valuesstatic final String PROP_STATS_SPEC
setStatsSpecification(String)
,
Constant Field Valuesstatic final String PROP_ENABLE_MBEANS
setMBeansEnabled(boolean)
,
Constant Field Valuesstatic final String PROP_SYSTEM_STREAM_TO_FILE_ENABLED
Valid values include: true and false.
static final String PROP_HAMANAGERPORT
setHAManagerPort(int)
,
Constant Field Valuesstatic final String PROP_CATALOG_SERVICE_ENDPOINTS
host:port<,host:port>
where the host value is the listenerHost and the port value is the
listenerPort of the catalog service process.
static final String PROP_LISTENER_HOST
setListenerHost(String)
,
Constant Field Valuesstatic final String PROP_LISTENER_PORT
setListenerPort(int)
,
Constant Field Valuesstatic final String PROP_MEMORY_USAGE_THRESHOLD
setMemoryThresholdPercentage(int)
,
Constant Field Valuesstatic final String PROP_MINIMUM_THREAD_POOL_SIZE
setMinimumThreadPoolSize(int)
,
Constant Field Valuesstatic final String PROP_MAXIMUM_THREAD_POOL_SIZE
setMaximumThreadPoolSize(int)
,
Constant Field Valuesstatic final String PROP_JMX_SERVICE_PORT
setJMXServicePort(int)
,
Constant Field Valuesstatic final String PROP_JMX_CONNECTOR_PORT
setJMXConnectorPort(int)
,
Constant Field Valuesstatic final String PROP_ENABLE_CHANNEL_FRAMEWORK
static final String PROP_ENABLE_EXTREMEMEMORY
static final String PROP_MAXIMUM_EXTREMEMEMORY_SIZE
static final String PROP_XIOCHANNEL_PREFIX
xioChannel.<channelname><propertyname>=<propertyvalue>
static final String PROP_XIOCHANNELNAME_CONTAINER_TCP_NON_SECURE
static final String PROP_XIOCHANNELNAME_CONTAINER_TCP_SECURE
static final String PROP_XIOCHANNELPROP_PORT
static final String PROP_MINIMUM_XIO_WORKER_THREAD_POOL_SIZE
static final String PROP_MAXIMUM_XIO_WORKER_THREAD_POOL_SIZE
static final String PROP_MINIMUM_XIO_NETWORK_THREAD_POOL_SIZE
static final String PROP_MAXIMUM_XIO_NETWORK_THREAD_POOL_SIZE
static final int REPLICATION_IDLE_LEVEL_SHORT
A replication idle level set to short may slightly delay replication when a primary changes data again after a period of no change, but also decreases CPU and network utilization during times of low data change in comparison to when the system is actively replicating data.
static final int REPLICATION_IDLE_LEVEL_NONE
A replication idle level set to none does not change the replication polling if there is a period of data not changing.
static final int REPLICATION_IDLE_LEVEL_RELAXED
A replication idle level set to relaxed may delay replication when a primary changes data again after a period of no change, but also decreases CPU and network utilization during times of low data change.
static final String PROP_JVM_STATS_ENABLED
static final String PROP_MAX_JVM_STATS_FILES
static final String PROP_MAX_JVM_STATS_FILE_SIZE
static final String PROP_JVM_STATS_FILE_NAME
static final String PROP_JVM_STATS_WRITE_RATE
static final String PROP_MAP_STATS_ENABLED
static final String PROP_MAX_MAP_STATS_FILES
static final String PROP_MAX_MAP_STATS_FILE_SIZE
static final String PROP_MAP_STATS_FILE_NAME
static final String PROP_MAP_STATS_WRITE_RATE
static final String PROP_OG_STATS_ENABLED
static final String PROP_MAX_OG_STATS_FILES
static final String PROP_MAX_OG_STATS_FILE_SIZE
static final String PROP_OG_STATS_FILE_NAME
static final String PROP_OG_STATS_WRITE_RATE
Method Detail |
---|
void load(InputStream input) throws IOException
input
into this property object.
input
- A stream to load properties from.
IOException
- If the properties input has an invalid format.void store(OutputStream output) throws IOException
output
.
output
- A stream to write out the properties to.
IOException
- If the properties input has an invalid format.boolean isServer()
String getServerName()
void setServerName(String serverName)
This value is optional. For WebSphere Application Server processes, the server name match the WebSphere Application Server process name. For other processes, the name is automatically generated in the form:
ogserver-[index]For example, the first server name will be: ogserver-0, the second server: ogserver-1.
serverName
- The name of the server process.String getZoneName()
DEFAULT_ZONE
void setZoneName(String zoneName)
zoneName
- The name of the zone that this server belongs to.DEFAULT_ZONE
String getListenerHost()
void setListenerHost(String listenerHost)
listenerHost
- The host name to be used when creating the ORB.int getListenerPort()
void setListenerPort(int listenerPort)
listenerPort
- The port to be used when creating the ORB.String getCatalogServiceBootstrap()
void setCatalogServiceBootstrap(String catalogServiceAddress)
catalogServiceAddress
- The addresses of all the catalog services that can be used to bootstrap to.int getJMXServicePort()
getJMXConnectorPort()
void setJMXServicePort(int jmxServicePort)
jmxServicePort
- The port that the JMX service is to bind to.setJMXConnectorPort(int)
int getJMXConnectorPort()
If the JMX service port is specified and this port is not specified, the port that is chosen depends on different criteria. If SSL is not enabled, the JMXServicePort is used for the JMXConnectorPort is possible. If that fails, an ephemeral port is used. With SSL enabled, an ephemeral port is always used if the JMXConnectorPort is not provided.
The format of the JMX URL is the following format when a JMXServicePort is provided: service:jmx:rmi://listenerHost:JMXConnectorPort/jndi/rmi://listenerHost:JMXServicePort/objectgrid/MBeanServer
If the JMX service port is not specified, this property is ignored and the ORB is used for both TCP and SSL configurations.
void setJMXConnectorPort(int jmxConnectorPort)
If the JMX service port is specified and this port is not specified, the port that is chosen depends on different criteria. If SSL is not enabled, the JMXServicePort is used for the JMXConnectorPort is possible. If that fails, an ephemeral port is used. With SSL enabled, an ephemeral port is always used if the JMXConnectorPort is not provided.
The format of the JMX URL is the following format when a JMXServicePort is provided: service:jmx:rmi://listenerHost:JMXConnectorPort/jndi/rmi://listenerHost:JMXServicePort/objectgrid/MBeanServer
The rmiHost and namingHost in the URL uses the listenerHost property.
If the JMX service port is not specified, this property is ignored and the ORB is used for both TCP and SSL configurations.
jmxConnectorPort
- The connector port that the JMX connection is to bind to.setJMXServicePort(int)
String getTraceSpecification()
void setTraceSpecification(String traceSpecification)
traceSpecification
- The initial trace specification for the server to use.String getTraceFileName()
void setTraceFileName(String traceFileName)
traceFileName
- The file name to use for logging trace.String getStatsSpecification()
void setStatsSpecification(String statsSpecification)
statsSpecification
- The initial stats specification.StatsSpec
boolean isMBeanEnabled()
void setMBeansEnabled(boolean enableMBeans)
enableMBeans
- Whether or not MBeans should be registered.String getWorkingDirectory()
void setWorkingDirectory(String workingDirectory)
workingDirectory
- The directory that the ObjectGrid will default activity to.boolean isSystemStreamToFileEnabled()
void setSystemStreamsToFileEnabled(boolean streamsToFile)
streamsToFile
- Whether or not the system streams should be written to file.void setHAManagerPort(int port)
port
- the port numberint getHAManagerPort()
void setMemoryThresholdPercentage(int threshold)
threshold
- the memory threshold percentage
IllegalArgumentException
- if the threshold is out of range.int getMemoryThresholdPercentage()
void setMinimumThreadPoolSize(int minNumThreads)
minNumThreads
- The minimum number of threads to hold in the pool.int getMinimumThreadPoolSize()
void setMaximumThreadPoolSize(int maxNumThreads)
maxNumThreads
- The maximum number of threads to use.int getMaximumThreadPoolSize()
boolean isChannelFrameworkEnabled()
void setChannelFramework(boolean enableChannelFramework)
enableChannelFramework
- True if the ChannelFramework is enabled.void setXIOChannelProps(Map<String,? extends Properties> channelProperties)
ServerProperties serverProps = ServerFactory.getServerProperties(); Map<String, Properties> allChannelProps = serverProps.getXIOChannelProps(); Properties channelProps = allChannelProps.get("THECHANNEL"); channelProps.put("PORT", "9000"); serverProps.setXIOChannelProps(channelProps);
channelProperties
- The map of channel names to the properties associated with the channel.Map<String,Properties> getXIOChannelProps()
void setEnableXM(boolean enableXM)
boolean isEnableXM()
void setMaximumXMSize(int sizeInMegabytes)
sizeInMegabytes
- the amount of eXtremeMemory to allocate in megabytes, or -1 if the maximum size is not set.int getMaximumXMSize()
int getMaximumJVMStatsFiles()
boolean isJvmStatsLoggingEnabled()
void setJvmStatsLoggingEnabled(boolean jvmStatsLoggingEnabled)
jvmStatsLoggingEnabled
- enables log data for the JVM to be written to a CSV file.void setMaximumJVMStatsFiles(int maximumJVMStatsFiles)
maximumJVMStatsFiles
- The maximum number of CSV statistics files that are generated for
the JVM Stats.int getMaximumJVMStatsFileSize()
void setMaximumJVMStatsFileSize(int maximumJVMStatsFileSize)
maximumJVMStatsFileSize
- The maximum file size, in megabytes, of the CSV statistics files
for the JVM.String getJvmStatsFileName()
void setJvmStatsFileName(String jvmStatsFileName)
jvmStatsFileName
- The file name of the CSV statistics file for the JVM.int getJvmStatsWriteRate()
void setJvmStatsWriteRate(int jvmStatsWriteRate)
jvmStatsWriteRate
- The write rate of the CSV statistics files for the JVM in seconds.int getMaximumMapStatsFiles()
boolean isMapStatsLoggingEnabled()
void setMapStatsLoggingEnabled(boolean mapStatsLoggingEnabled)
mapStatsLoggingEnabled
- enables log data for the Map to be written to a CSV file.void setMaximumMapStatsFiles(int maximumMapStatsFiles)
maximumMapStatsFiles
- The maximum number of CSV statistics files that are generated for
the Map Stats.int getMaximumMapStatsFileSize()
void setMaximumMapStatsFileSize(int maximumMapStatsFileSize)
maximumMapStatsFileSize
- The maximum file size, in megabytes, of the CSV statistics files
for the Map.String getMapStatsFileName()
void setMapStatsFileName(String mapStatsFileName)
mapStatsFileName
- The file name of the CSV statistics file for the Map.int getMapStatsWriteRate()
void setMapStatsWriteRate(int mapStatsWriteRate)
mapStatsWriteRate
- The write rate of the CSV statistics files for the Map in seconds.int getMaximumOGStatsFiles()
boolean isOGStatsLoggingEnabled()
void setOGStatsLoggingEnabled(boolean ogStatsLoggingEnabled)
ogStatsLoggingEnabled
- enables log data for the ObjectGrid to be written to a CSV file.void setMaximumOGStatsFiles(int maximumOGStatsFiles)
maximumOGStatsFiles
- The maximum number of CSV statistics files that are generated for
the ObjectGrid Stats.int getMaximumOGStatsFileSize()
void setMaximumOGStatsFileSize(int maximumOGStatsFileSize)
maximumOGStatsFileSize
- The maximum file size, in megabytes, of the CSV statistics files
for the ObjectGrid.String getOGStatsFileName()
void setOGStatsFileName(String ogStatsFileName)
ogStatsFileName
- The file name of the CSV statistics file for the ObjectGrid.int getOGStatsWriteRate()
void setOGStatsWriteRate(int ogStatsWriteRate)
ogStatsWriteRate
- The write rate of the CSV statistics files for the ObjectGrid in seconds.int getMinimumXIOWorkerThreads()
void setMinimumXIOWorkerThreads(int minThreads)
minThreads
- the minimum number of threads.int getMaximumXIOWorkerThreads()
void setMaximumXIOWorkerThreads(int maxThreads)
maxThreads
- the maximum number of threads.int getMinimumXIONetworkThreads()
void setMinimumXIONetworkThreads(int minThreads)
minThreads
- the minimum number of threadsint getMaximumXIONetworkThreads()
void setMaximumXIONetworkThreads(int maxThreads)
maxThreads
- the maximum number of threads.
|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |