Home » quartz-1.6.0 » org » quartz » utils » [javadoc | source]
org.quartz.utils
public class: StringKeyDirtyFlagMap [javadoc | source]
java.lang.Object
   org.quartz.utils.DirtyFlagMap
      org.quartz.utils.StringKeyDirtyFlagMap

All Implemented Interfaces:
    Cloneable, Map, Serializable

Direct Known Subclasses:
    SchedulerContext, JobDataMap

An implementation of Map that wraps another Map and flags itself 'dirty' when it is modified, enforces that all keys are Strings.

All allowsTransientData flag related methods are deprecated as of version 1.6.

Field Summary
static final  long serialVersionUID     
Constructor:
 public StringKeyDirtyFlagMap() 
 public StringKeyDirtyFlagMap(int initialCapacity) 
 public StringKeyDirtyFlagMap(int initialCapacity,
    float loadFactor) 
Method from org.quartz.utils.StringKeyDirtyFlagMap Summary:
containsTransientData,   getAllowsTransientData,   getBoolean,   getChar,   getDouble,   getFloat,   getInt,   getKeys,   getLong,   getString,   put,   put,   put,   put,   put,   put,   put,   put,   putAll,   removeTransientData,   setAllowsTransientData
Methods from org.quartz.utils.DirtyFlagMap:
clear,   clearDirtyFlag,   clone,   containsKey,   containsValue,   entrySet,   equals,   get,   getWrappedMap,   isDirty,   isEmpty,   keySet,   put,   putAll,   remove,   size,   values
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.utils.StringKeyDirtyFlagMap Detail:
 public boolean containsTransientData() 
Deprecated! JDBCJobStores - no longer prune out transient data. If you include non-Serializable values in the Map, you will now get an exception when attempting to store it in a database.

    Determine whether any values in this Map do not implement Serializable. Always returns false if this Map is flagged to not allow transient data.
 public boolean getAllowsTransientData() 
Deprecated! JDBCJobStores - no longer prune out transient data. If you include non-Serializable values in the Map, you will now get an exception when attempting to store it in a database.

    Whether the StringKeyDirtyFlagMap allows non-Serializable values.
 public boolean getBoolean(String key) 

    Retrieve the identified boolean value from the StringKeyDirtyFlagMap.

 public char getChar(String key) 

    Retrieve the identified char value from the StringKeyDirtyFlagMap.

 public double getDouble(String key) 

    Retrieve the identified double value from the StringKeyDirtyFlagMap.

 public float getFloat(String key) 

    Retrieve the identified float value from the StringKeyDirtyFlagMap.

 public int getInt(String key) 

    Retrieve the identified int value from the StringKeyDirtyFlagMap.

 public String[] getKeys() 
    Get a copy of the Map's String keys in an array of Strings.
 public long getLong(String key) 

    Retrieve the identified long value from the StringKeyDirtyFlagMap.

 public String getString(String key) 

    Retrieve the identified String value from the StringKeyDirtyFlagMap.

 public  void put(String key,
    int value) 

    Adds the given int value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    long value) 

    Adds the given long value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    float value) 

    Adds the given float value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    double value) 

    Adds the given double value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    boolean value) 

    Adds the given boolean value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    char value) 

    Adds the given char value to the StringKeyDirtyFlagMap.

 public  void put(String key,
    String value) 

    Adds the given String value to the StringKeyDirtyFlagMap.

 public Object put(Object key,
    Object value) 

    Adds the given Object value to the StringKeyDirtyFlagMap.

 public  void putAll(Map map) 

    Adds the name-value pairs in the given Map to the StringKeyDirtyFlagMap.

    All keys must be Strings.

 public  void removeTransientData() 
Deprecated! JDBCJobStores - no longer prune out transient data. If you include non-Serializable values in the Map, you will now get an exception when attempting to store it in a database.

    Removes any data values in the map that are non-Serializable. Does nothing if this Map does not allow transient data.
 public  void setAllowsTransientData(boolean allowsTransientData) 
Deprecated! JDBCJobStores - no longer prune out transient data. If you include non-Serializable values in the Map, you will now get an exception when attempting to store it in a database.

    Tell the StringKeyDirtyFlagMap that it should allow non-Serializable values. Enforces that the Map doesn't already include transient data.