jdk/src/share/classes/javax/management/PersistentMBean.java
changeset 21656 d4c777ccb1db
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21655:55f32ae4f920 21656:d4c777ccb1db
    68      * attribute and operation values. If one of these methods of persistence is
    68      * attribute and operation values. If one of these methods of persistence is
    69      * not supported a "serviceNotFound" exception will be thrown.
    69      * not supported a "serviceNotFound" exception will be thrown.
    70      * <P>
    70      * <P>
    71      * Persistence policy from the MBean and attribute descriptor is used to guide execution
    71      * Persistence policy from the MBean and attribute descriptor is used to guide execution
    72      * of this method. The MBean should be stored if 'persistPolicy' field is:
    72      * of this method. The MBean should be stored if 'persistPolicy' field is:
    73      * <PRE>  != "never"
    73      * <PRE>{@literal  != "never"
    74      *   = "always"
    74      *   = "always"
    75      *   = "onTimer" and now > 'lastPersistTime' + 'persistPeriod'
    75      *   = "onTimer" and now > 'lastPersistTime' + 'persistPeriod'
    76      *   = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod'
    76      *   = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod'
    77      *   = "onUnregister"
    77      *   = "onUnregister"
    78      * <P>
    78      * }</PRE>
       
    79      * <p>
    79      * Do not store the MBean if 'persistPolicy' field is:
    80      * Do not store the MBean if 'persistPolicy' field is:
       
    81      * <PRE>{@literal
    80      *    = "never"
    82      *    = "never"
    81      *    = "onUpdate"
    83      *    = "onUpdate"
    82      *    = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'
    84      *    = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'
    83      * <P></PRE>
    85      * }</PRE>
    84      *
    86      *
    85      * @exception MBeanException Wraps another exception or persistence is not supported
    87      * @exception MBeanException Wraps another exception or persistence is not supported
    86      * @exception RuntimeOperationsException Wraps exceptions from the persistence mechanism
    88      * @exception RuntimeOperationsException Wraps exceptions from the persistence mechanism
    87      * @exception InstanceNotFoundException Could not find/access the persistent store
    89      * @exception InstanceNotFoundException Could not find/access the persistent store
    88      */
    90      */