|
IBM WebSphereTM eXtreme Scale, Release 8.6 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_DISK_OVERFLOW_CAP_BYTES
Defines maximum number of bytes that can be used by this JVM for overflowing content to disk. |
static String |
PROP_DISK_OVERFLOW_ENABLED
Defines whether the capability of overflowing data from main-memory to disk is enabled. |
static String |
PROP_DISK_OVERFLOW_MIN_DISK_SPACE_BYTES
Defines minimum number of bytes that must remain free on disk in the partition named by PROP_DISK_STORAGE_PATH. |
static String |
PROP_DISK_STORAGE_PATH
Defines the root directory to use when disk overflow is enabled. |
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_HPEL_BUFFERING_ENABLED
Indicates if the HPEL feature is to enable buffering. |
static String |
PROP_HPEL_ENABLED
Indicates if the HPEL feature is to be enable or not: true for enabled false for disabled. |
static String |
PROP_HPEL_FILE_SWITCH_ENABLED
Indicates if the HPEL feature is to enable file switch. |
static String |
PROP_HPEL_FILE_SWITCH_HOUR
Indicates the file switch hour (int value). |
static String |
PROP_HPEL_INCLUDE_TRACE
Indicates if the HPEL text files are to include tracing. |
static String |
PROP_HPEL_MAX_REPOSITORY_SIZE
Indicates the Maximum size of files generate in megabytes (long value). |
static String |
PROP_HPEL_MAX_RETENTION_TIME
Indicates the maximum retention time to hold files (long value). |
static String |
PROP_HPEL_OUT_OF_SPACE_ACTION
Indicates the action to be performed when the disk space has been exceeded (String value) |
static String |
PROP_HPEL_OUTPUT_FORMAT
Indicates the format of the log files to be generated (String value). |
static String |
PROP_HPEL_PURGE_BY_SIZE_ENABLED
Indicates if the HPEL feature is to purge log files by size. |
static String |
PROP_HPEL_PURGE_BY_TIME_ENABLED
Indicates if the HPEL feature is to purge log files by time. |
static String |
PROP_HPEL_REPOSITORY_PATH
Indicates the file repository path (int value). |
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_LOG_NOTIFICATION_FILTER
The log record filtering regular expression that the ObjectGrid server should initially use. |
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_SYSLOG_ENABLED
Indicates whether to enable the transmission (over UDP) of log messages to a remote syslogd server. |
static String |
PROP_SYSLOG_FACILITY
Indicates the syslog facility with which to send out syslog messages |
static String |
PROP_SYSLOG_HOST_NAME
Indicates the receiving syslogd server fully-qualified domain name or IP address. |
static String |
PROP_SYSLOG_HOST_PORT
Indicates the syslogd server port number on which to receive syslog messages. |
static String |
PROP_SYSLOG_THRESHOLD
Indicates the log level threshold of messages to trasmit to the configured syslogd server Possible values: {warning, error} |
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_WAS_MANAGED_CONTAINER_SHUTDOWN_ENABLED
Used by users of the embedded server API in WebSphere Application Server, when they want to stop the eXtreme Scale containers manually using the ContainerMBean.terminate() API. |
static String |
PROP_WORKING_DIRECTORY
The property that defines which directory the ObjectGrid server should use for all default settings. |
static String |
PROP_XIO_TIMEOUT
Sets the timeout for server requests using the XIO transport. |
static String |
PROP_XIO_WAITING_MESSAGE_QUEUE_LIMIT
Deprecated. 8.6.0 |
static String |
PROP_XIOCHANNEL_PREFIX
The property prefix to use for all eXtremeIO transport channel properties. |
static String |
PROP_XIOCHANNELNAME_CONTAINER_TCP_NON_SECURE
Deprecated. 8.6 |
static String |
PROP_XIOCHANNELNAME_CONTAINER_TCP_SECURE
Deprecated. 8.6 |
static String |
PROP_XIOCHANNELNAME_TCP
The eXtremeIO transport channel name for TCP/IP communication. |
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. |
long |
getDiskOverflowCapBytes()
Returns the maximum number of bytes that can be used by this JVM when overflowing bytes to disk. |
long |
getDiskOverflowMinDiskSpaceBytes()
Returns the minimum number of bytes that must remain free on disk when overflowing bytes to disk. |
String |
getDiskStoragePath()
Returns the root directory used for disk overflow. |
int |
getHAManagerPort()
Retrieve the High Availability Manager (HA Manager) port. |
int |
getHPELFileSwitchHour()
Indicates the HPEL File Switch Hour |
long |
getHPELMaxRepositorySize()
Indicates the HPEL Maximum Repository Size |
long |
getHPELMaxRetentionTime()
Indicates the HPEL Maximum Retention Time |
String |
getHPELOutOfSpaceAction()
Indicates the HPEL Out Of Space Action |
String |
getHPELOutputFormat()
Indicates the HPEL Output Format |
String |
getHPELRepositoryPath()
Indicates the HPEL Repository Path |
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 inbound port used by the dominant transport. |
String |
getLogNotificationFilter()
Retrieves the regular expression filter to be applied to log records messages that are forwarded as JMX notifications by the ObjectGrid server through the LoggerListenerJMXNotifier |
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()
Gets the maximum number of threads to allocate in the eXtremeIO transport network thread pool. |
int |
getMaximumXIOWaitingMessages()
Gets the maximum number of messages waiting to be processed. |
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()
Gets 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 |
getSyslogFacility()
Indicates the Syslogd Facility |
String |
getSyslogHostName()
Indicates the Syslogd Server host full name or IP address |
int |
getSyslogHostPort()
Indicates the Syslogd Server Port Number |
String |
getSyslogThreshold()
Indicates the Syslogd Threshold. |
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. |
int |
getXIOTimeout()
Returns the current timeout for server requests using the XIO transport. |
String |
getZoneName()
Retrieve the zone name. |
boolean |
isChannelFrameworkEnabled()
Returns if the ChannelFramework setting was enabled for the TransportMode on the IBM ORB properties |
boolean |
isDiskOverflowEnabled()
Returns true if and only if the disk-overflow feature is enabled, false otherwise. |
boolean |
isEnableXM()
Answers true if eXtremeMemory is enabled. |
boolean |
isHPELBufferingEnabled()
Indicates if the HPEL file switch feature is to be enable or not: true for enabled false for disabled. |
boolean |
isHPELEnabled()
Indicates if the HPEL feature is to be enable or not: true for enabled false for disabled. |
boolean |
isHPELFileSwitchEnabled()
Indicates if the HPEL file switch feature is to be enable or not: true for enabled false for disabled. |
boolean |
isHPELIncludeTrace()
Indicates if the HPEL include trace feature is to be enable or not: true for enabled false for disabled. |
boolean |
isHPELPurgeBySizeEnabled()
Indicates if the HPEL feature purge by size feature enable or not: true for enabled false for disabled. |
boolean |
isHPELPurgeByTimeEnabled()
Indicates if the HPEL feature purge by size is to be enable or not: true for enabled false for disabled. |
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 |
isSyslogEnabled()
Indicates if the Syslogd feature is to be enable or not: true for enabled false for disabled. |
boolean |
isSystemStreamToFileEnabled()
Retrieves the stream to file setting. |
boolean |
isWASManagedContainerShutdownEnabled()
Answers true if WebSphere Application Server automatically stops the eXtreme Scale container when the hosting application server is stopped and the container was started using the eXtreme Scale Server.createContainer(com.ibm.websphere.objectgrid.deployment.DeploymentPolicy) API. |
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 |
setDiskOverflowCapBytes(long bytes)
Sets the maximum number of bytes that can be used by this JVM for overflowing bytes to disk. |
void |
setDiskOverflowEnabled(boolean diskOverflowEnabled)
Sets the disk-overflow enablement feature. |
void |
setDiskOverflowMinDiskSpaceBytes(long bytes)
Sets the minimum number of bytes that must remain free on disk (in the partition named by diskStoragePath) when overflowing bytes to disk: a request to store data on disk will not be granted if the request will cause this constraint to be violated. |
void |
setDiskStoragePath(String diskStoragePath)
Sets the root directory to use for disk overflow. |
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 |
setHPELBufferingEnabled(boolean hpelBufferingEnabled)
When set to true, enables HPEL buffering. |
void |
setHPELEnabled(boolean hpelEnabled)
When set to true, enables HPEL logging. |
void |
setHPELFileSwitchEnabled(boolean hpelFileSwitchEnabled)
When set to true, enables HPEL file switch. |
void |
setHPELFileSwitchHour(int hpelFileSwitchHour)
Specifies the HPEL File Switch Hour |
void |
setHPELIncludeTrace(boolean hpelIncludeTrace)
When set to true, enables HPEL include trace. |
void |
setHPELMaxRepositorySize(long hpelMaxRepositorySize)
Specifies the HPEL Maximum Repository Size |
void |
setHPELMaxRetentionTime(long hpelMaxRetentionTime)
Specifies the HPEL Maximum Retention Time |
void |
setHPELOutOfSpaceAction(String hpelOutOfSpaceAction)
Specifies the HPEL Out Of SpaceAction |
void |
setHPELOutputFormat(String hpelOutputFormat)
Specifies the HPEL Output Format |
void |
setHPELPurgeBySizeEnabled(boolean hpelPurgeBySizeEnabled)
When set to true, enables HPEL purge by size. |
void |
setHPELPurgeByTimeEnabled(boolean hpelPurgeByTimeEnabled)
When set to true, enables HPEL purge by time. |
void |
setHPELRepositoryPath(String hpelRepositoryPath)
Specifies the HPEL Repository Path |
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 |
setLogNotificationFilter(String regExFilter)
Sets the regular expression filter to be applied to log records messages that are forwarded as JMX notifications by the ObjectGrid server through the LoggerListenerJMXNotifier |
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)
Sets the maximum number of threads to allocate in the eXtremeIO transport network thread pool. |
void |
setMaximumXIOWaitingMessages(int maxMessages)
Sets the maximum number of messages waiting to be processed. |
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)
Sets 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 |
setSyslogEnabled(boolean syslogEnabled)
When set to true, enables Syslog logging. |
void |
setSyslogFacility(String syslogFacility)
Specifies the Syslogd Facility |
void |
setSyslogHostName(String syslogHostName)
Specifies the Syslogd Server host full name or IP address |
void |
setSyslogHostPort(int syslogHostPort)
Specifies the Syslogd Server host port number |
void |
setSyslogThreshold(String syslogThreshold)
Specifies the Syslogd Threshold |
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 |
setWASManagedContainerShutdownEnabled(boolean enabled)
Set to true if the WebSphere Application Server should automatically stop the eXtreme Scale container when the hosting application server is stopped and the container was started using the eXtreme Scale Server.createContainer(com.ibm.websphere.objectgrid.deployment.DeploymentPolicy) API. |
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 |
setXIOTimeout(int timeout)
Sets the current timeout for server requests using the XIO transport. |
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_LOG_NOTIFICATION_FILTER
DynamicServerMBean.setLogNotificationFilter(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_TCP
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_XIO_WAITING_MESSAGE_QUEUE_LIMIT
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_HPEL_ENABLED
static final String PROP_HPEL_PURGE_BY_SIZE_ENABLED
static final String PROP_HPEL_PURGE_BY_TIME_ENABLED
static final String PROP_HPEL_FILE_SWITCH_ENABLED
static final String PROP_HPEL_BUFFERING_ENABLED
static final String PROP_HPEL_INCLUDE_TRACE
static final String PROP_HPEL_OUT_OF_SPACE_ACTION
static final String PROP_HPEL_OUTPUT_FORMAT
static final String PROP_HPEL_MAX_REPOSITORY_SIZE
static final String PROP_HPEL_MAX_RETENTION_TIME
static final String PROP_HPEL_FILE_SWITCH_HOUR
static final String PROP_HPEL_REPOSITORY_PATH
static final String PROP_SYSLOG_ENABLED
static final String PROP_SYSLOG_HOST_NAME
static final String PROP_SYSLOG_HOST_PORT
static final String PROP_SYSLOG_FACILITY
static final String PROP_SYSLOG_THRESHOLD
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
static final String PROP_DISK_STORAGE_PATH
setDiskStoragePath(String)
,
Constant Field Valuesstatic final String PROP_DISK_OVERFLOW_CAP_BYTES
setDiskOverflowCapBytes(long)
,
Constant Field Valuesstatic final String PROP_DISK_OVERFLOW_MIN_DISK_SPACE_BYTES
getDiskOverflowMinDiskSpaceBytes()
,
Constant Field Valuesstatic final String PROP_DISK_OVERFLOW_ENABLED
setDiskOverflowEnabled(boolean)
,
Constant Field Valuesstatic final String PROP_XIO_TIMEOUT
static final String PROP_WAS_MANAGED_CONTAINER_SHUTDOWN_ENABLED
The default is true, which allows the eXtreme Scale runtime to automatically stop the container servers when the application server is shut down.
setWASManagedContainerShutdownEnabled(boolean)
,
Constant Field ValuesMethod 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)
void setLogNotificationFilter(String regExFilter)
regExFilter
- The initial regular expression filter for log record messages.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
String getLogNotificationFilter()
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()
boolean isHPELEnabled()
void setHPELEnabled(boolean hpelEnabled)
hpelEnabled
- enables log data to be handled by HPEL.boolean isHPELPurgeBySizeEnabled()
void setHPELPurgeBySizeEnabled(boolean hpelPurgeBySizeEnabled)
hpelPurgeBySizeEnabled
- enables purge by size.boolean isHPELPurgeByTimeEnabled()
void setHPELPurgeByTimeEnabled(boolean hpelPurgeByTimeEnabled)
hpelPurgeByTimeEnabled
- enables purge by time.boolean isHPELFileSwitchEnabled()
void setHPELFileSwitchEnabled(boolean hpelFileSwitchEnabled)
hpelFileSwitchEnabled
- enables file switch.boolean isHPELBufferingEnabled()
void setHPELBufferingEnabled(boolean hpelBufferingEnabled)
hpelBufferingEnabled
- enables buffering.boolean isHPELIncludeTrace()
void setHPELIncludeTrace(boolean hpelIncludeTrace)
hpelIncludeTrace
- enables include trace.void setHPELMaxRepositorySize(long hpelMaxRepositorySize)
hpelMaxRepositorySize
- The HPEL Maximum Repository Sizelong getHPELMaxRepositorySize()
void setHPELMaxRetentionTime(long hpelMaxRetentionTime)
hpelMaxRetentionTime
- The HPEL Retention Timelong getHPELMaxRetentionTime()
void setHPELFileSwitchHour(int hpelFileSwitchHour)
hpelFileSwitchHour
- The HPEL File Switch Hourint getHPELFileSwitchHour()
void setHPELOutOfSpaceAction(String hpelOutOfSpaceAction)
hpelOutOfSpaceAction
- The HPEL Out Of SpaceActionString getHPELOutOfSpaceAction()
void setHPELOutputFormat(String hpelOutputFormat)
hpelOutputFormat
- The HPEL Output FormatString getHPELOutputFormat()
void setHPELRepositoryPath(String hpelRepositoryPath)
hpelRepositoryPath
- The HPEL Repository PathString getHPELRepositoryPath()
boolean isSyslogEnabled()
void setSyslogEnabled(boolean syslogEnabled)
syslogEnabled
- enables log data to be sent to Syslog server.String getSyslogHostName()
void setSyslogHostName(String syslogHostName)
syslogHostName
- The Syslogd Server host full name or IP addressint getSyslogHostPort()
void setSyslogHostPort(int syslogHostPort)
syslogHostPort
- The Syslogd Server host Port NumberString getSyslogFacility()
void setSyslogFacility(String syslogFacility)
syslogFacility
- The Syslogd Server FacilityString getSyslogThreshold()
void setSyslogThreshold(String syslogThreshold)
syslogThreshold
- The Syslogd Server Thresholdint 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.void setMaximumXIOWaitingMessages(int maxMessages)
maxMessages
- a negative number indicates no limit which may cause OutOfMemory error
in exceptional cases.int getMaximumXIOWaitingMessages()
boolean isDiskOverflowEnabled()
void setDiskOverflowEnabled(boolean diskOverflowEnabled)
diskOverflowEnabled
- true if and only if the disk-overflow feature should be
enabled, false otherwise.void setDiskStoragePath(String diskStoragePath)
diskStoragePath
- location of the root directory.String getDiskStoragePath()
void setDiskOverflowCapBytes(long bytes)
bytes
- the cap specified in bytes.long getDiskOverflowCapBytes()
void setDiskOverflowMinDiskSpaceBytes(long bytes)
bytes
- the minimum number of bytes that must remain free on disk.long getDiskOverflowMinDiskSpaceBytes()
boolean isWASManagedContainerShutdownEnabled()
Answers false, if the application manually stops the container.
void setWASManagedContainerShutdownEnabled(boolean enabled)
Set to false, if the application manually stops the container using the ContainerMBean.terminate() API.
int getXIOTimeout()
void setXIOTimeout(int timeout)
timeout
- the timeout in seconds
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |