|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.AbleObject
com.ibm.able.examples.rules.PolicyDemo
This Java program (run it from the command line) creates and exercises an ABLE Policy Document (ruleset) in several different ways. The DecisionName that is implemented is a ProvisioningDecision.
| Field Summary |
|---|
| Fields inherited from class com.ibm.able.AbleObject |
|---|
changed, chgSupport, comment, dataFlowEnabled, defaultName, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, properties, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
| Constructor Summary | |
|---|---|
PolicyDemo()
|
|
PolicyDemo(java.lang.String theName)
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
immediatelyAddServersMethod(java.lang.Integer theNumber)
Adds the specified number of servers to the current configuration. |
static void |
main(java.lang.String[] args)
|
void |
process()
Performs the main, synchronous, standard processing function performed by this bean. |
java.lang.Integer |
realTimeCpuUtiliztionMethod()
Determines, in real time, the current CPU utilization. |
java.lang.Integer |
realTimeNumberOfActiveConnectionsMethod()
Determines, in real time, the current number of active connections. |
java.lang.Integer |
realTimeNumberOfServersMethod()
Determines, in real time, the current number of active Servers. |
void |
runDemo()
Controlling logic for the demo. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PolicyDemo()
throws AbleException
public PolicyDemo(java.lang.String theName)
throws AbleException
| Method Detail |
public void process()
throws AbleException
AbleObjectThis base method implementation provides tracing only.
process in interface AbleBeanprocess in class AbleObjectAbleExceptionAbleObject.inputBuffer,
AbleObject.outputBuffer,
AbleBean.process()public void runDemo()
public java.lang.Integer realTimeNumberOfServersMethod()
public java.lang.Integer realTimeNumberOfActiveConnectionsMethod()
public java.lang.Integer realTimeCpuUtiliztionMethod()
public java.lang.Integer immediatelyAddServersMethod(java.lang.Integer theNumber)
theNumber - The number of servers to add.
public static void main(java.lang.String[] args)
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||