com.pmease.quickbuild.plugin.report.engine.datastore
Enum ConnectionCache

java.lang.Object
  extended by java.lang.Enum<ConnectionCache>
      extended by 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>


Nested Class Summary
static class ConnectionCache.Usage
           
 
Enum Constant Summary
INSTANCE
           
 
Method Summary
 java.lang.String dump()
           
 java.lang.String dump(java.lang.String url)
           
 java.util.Collection<ConnectionCache.Usage> getStatus(java.lang.String url)
           
 boolean isEmpty()
           
static void main(java.lang.String[] args)
           
 void put(java.lang.String url, ConnectionCache.Usage usage)
           
 void put(java.lang.String url, DbStore.Mode mode, java.lang.String method)
           
 void remove(java.lang.String url, ConnectionCache.Usage usage)
           
 void remove(java.lang.String url, DbStore.Mode mode, java.lang.String method)
           
static ConnectionCache valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConnectionCache[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

INSTANCE

public static final ConnectionCache INSTANCE
Method Detail

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.