com.pmease.quickbuild.plugin.report.engine.datastore
Enum ConnectionCache
java.lang.Object
java.lang.Enum<ConnectionCache>
com.pmease.quickbuild.plugin.report.engine.datastore.ConnectionCache
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ConnectionCache>
public enum ConnectionCache
- extends java.lang.Enum<ConnectionCache>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INSTANCE
public static final ConnectionCache INSTANCE
values
public static ConnectionCache[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ConnectionCache c : ConnectionCache.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ConnectionCache valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
put
public void put(java.lang.String url,
ConnectionCache.Usage usage)
put
public void put(java.lang.String url,
DbStore.Mode mode,
java.lang.String method)
remove
public void remove(java.lang.String url,
ConnectionCache.Usage usage)
remove
public void remove(java.lang.String url,
DbStore.Mode mode,
java.lang.String method)
isEmpty
public boolean isEmpty()
getStatus
public java.util.Collection<ConnectionCache.Usage> getStatus(java.lang.String url)
dump
public java.lang.String dump()
dump
public java.lang.String dump(java.lang.String url)
main
public static void main(java.lang.String[] args)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.