oracle.adf.share.statemanager
Class DefaultPolicyImpl
java.lang.Object
oracle.adf.share.statemanager.DefaultPolicyImpl
- All Implemented Interfaces:
- Policy
public class DefaultPolicyImpl
- extends java.lang.Object
- implements Policy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPolicyImpl
public DefaultPolicyImpl(boolean isPersistent,
boolean isDistributable,
long timeToLive)
DefaultPolicyImpl
public DefaultPolicyImpl()
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent
in interface Policy
- Returns:
- a boolean indicating that the state may be persisted
isDistributable
public boolean isDistributable()
- Specified by:
isDistributable
in interface Policy
- Returns:
- a boolean indicating that the state may be distributed
getTimeToLive
public long getTimeToLive()
- Specified by:
getTimeToLive
in interface Policy
- Returns:
- a long indicating the time that the state may live in ms
Copyright © 1997, 2011, Oracle. All rights reserved.