|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.mc.rjmx.subscription.PolicyFactory
public final class PolicyFactory
Factory for commonly used subscription update policies.
Method Summary | |
---|---|
static IUpdatePolicy |
createDefaultUpdatePolicy()
Policy that updates the IAttributeSubscription with the
default update interval. |
static IUpdatePolicy |
createOneShotPolicy()
This update policy will schedule the first update ASAP, and the next one at the end of time (Long.MAX_VALUE). |
static IUpdatePolicy |
createSimpleUpdatePolicy(int updateTime)
Update policy that updates the IAttributeSubscription every
updateTime millisecond. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IUpdatePolicy createOneShotPolicy()
public static IUpdatePolicy createSimpleUpdatePolicy(int updateTime)
IAttributeSubscription
every
updateTime millisecond.
updateTime
- the period between updates in milliseconds.public static IUpdatePolicy createDefaultUpdatePolicy()
IAttributeSubscription
with the
default update interval.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |