|
IBM WebSphere eXtreme ScaleTM, Release 6.1.0.5 ObjectGrid 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 cluster. |
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_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_MEMORY_USAGE_THRESHOLD
Sets the memory threshold (percentage of max heap) for memory based eviciton |
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_ZONE_NAME
Defines the name of the zone this server belongs to. |
| Method Summary | |
|---|---|
String |
getCatalogServiceBootstrap()
Retrieves the catalog service corbaloc string. |
int |
getHAManagerPort()
Retrieve the High Availability Manager (HA Manager) port. |
int |
getJMXServicePort()
Retrieves the port to be used by the JMX connection. |
String |
getListenerHost()
Retrieves the host to be used by the ORB. |
int |
getListenerPort()
Retrieves the port to be used by the ORB. |
int |
getMemoryThresholdPercentage()
Gets the memory threshold usage percentage, -1 indicates that it was not set. |
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. |
String |
getZoneName()
Retrieve the zone name. |
boolean |
isMBeanEnabled()
Retrieves whether or not the MBeans are going to be registered. |
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 catalogClusterAddress)
Sets the catalog cluster addresses in the form [host:port,host:port,...]. |
void |
setHAManagerPort(int port)
Sets the port number for the High Availability Manager (HA Manager). |
void |
setJMXServicePort(int jmxServicePort)
Assigns the port that the JMX service is to bind to. |
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 |
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 |
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 |
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 server.
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 Values| 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_ZONEvoid setZoneName(String zoneName)
zoneName - The name of the zone that this server belongs to.DEFAULT_ZONEString 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 catalogClusterAddress)
catalogClusterAddress - The addresses of all the catalog services that can be used to bootstrap to.int getJMXServicePort()
void setJMXServicePort(int jmxServicePort)
jmxServicePort - The port that the JMX service is to bind to.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.StatsSpecboolean 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()
|
IBM WebSphere eXtreme ScaleTM, Release 6.1.0.5 ObjectGrid API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||