A B C D E F G H I J K L M N O P Q R S T U W

A

AbstractCachable - Class in net.spy.cache
Abstract implementation of Cachable.
AbstractCachable(Object, Object) - Constructor for class net.spy.cache.AbstractCachable
Get an instance of AbstractCachable.
AbstractCacheListener - Class in net.spy.cache
Abstract implementation of CacheListener
AbstractCacheListener() - Constructor for class net.spy.cache.AbstractCacheListener
Get an instance of AbstractCacheListener.
AbstractLogger - Class in net.spy.log
Abstract implementation of Logger providing most of the common framework.
AbstractLogger(String) - Constructor for class net.spy.log.AbstractLogger
Instantiate the abstract logger.
AbstractSavable - Class in net.spy.db
Abstract implementation of Savable.
AbstractSavable() - Constructor for class net.spy.db.AbstractSavable
Get an instance of AbstractSavable.
AbstractSPNode - Class in net.spy.util
Abstract implementation of SPNode to make implementation a bit easier.
AbstractSPNode(SortedSet) - Constructor for class net.spy.util.AbstractSPNode
Get an instance of AbstractSPNode holding its links in the given Set.
AbstractSPNode() - Constructor for class net.spy.util.AbstractSPNode
Get an instance of AbstractSPNode.
acceptsURL(String) - Method in class net.spy.db.FileDriver
 
activate() - Method in class net.spy.pool.PoolAble
Activate this PoolAble object.
add(boolean) - Method in class net.spy.util.BitArray
Add a bit.
add(int, Object) - Method in class net.spy.util.LimitedList
Override add to enforce the limit.
add(Object) - Method in class net.spy.util.LimitedList
Override add to enforce the limit.
add(Object) - Method in class net.spy.util.ReferenceSet
Add an object to the Set.
add(Object) - Method in class net.spy.util.RingBuffer
Add an object to the ring buffer (if it's full, it'll cycle the oldest one out).
add(TTL) - Method in class net.spy.util.TTLMonitor
Add a new TTL to the list we're monitoring.
add(Object) - Method in class net.spy.util.WeakHashSet
Add this object to this Set if it's not already present.
addAll(int, Collection) - Method in class net.spy.util.LimitedList
Override addAll to enforce the limit.
addAll(Collection) - Method in class net.spy.util.LimitedList
Override addAll to enforce the limit.
addBits(int, int) - Method in class net.spy.util.BitArray
Add a set of bits from an integer.
addFirst(Object) - Method in class net.spy.util.LimitedList
Override addFirst to enforce the limit.
addInterface(String) - Method in class net.spy.util.SPGen
Add an interface to the implements line.
addInterfaces(Collection) - Method in class net.spy.util.SPGen
Add a collection of interfaces.
addJob(Job) - Method in class net.spy.cron.JobQueue
Add a job.
addLast(Object) - Method in class net.spy.util.LimitedList
Override addLast to enforce the limit.
addNextHop(SPNode, SPVertex) - Method in class net.spy.util.AbstractSPNode
 
addNextHop(SPNode, SPVertex) - Method in interface net.spy.util.SPNode
Add a vertex to the next hop database to take you to a particular location.
addParameter(DBSP.Parameter) - Method in class net.spy.db.DBSP
Define a parameter.
addResponse(String) - Method in class net.spy.net.SNPP
adds a response to the SNPP message.
addTask(Runnable) - Method in class net.spy.util.ThreadPool
Add a task for one of the threads to execute.
addTask(Runnable, long) - Method in class net.spy.util.ThreadPool
Add a task for one of the threads to execute.
addTransaction(Savable, SpyConfig, SaveContext) - Method in class net.spy.db.TransactionPipeline
Add a transaction to the pipeline.
addTransaction(Savable, SpyConfig) - Method in class net.spy.db.TransactionPipeline
Add a transaction to the pipeline without a context.
ADMIN_FAILURE - Static variable in class net.spy.net.SNPP
Response code indicating a command failed (invalid pager ID, illegal parameter, etc...).
ALERT - Static variable in class net.spy.log.Syslog
 
applyArgs(Collection) - Method in class net.spy.db.DBCP
Fill in the arguments (with types) for the given list of parameters.
applyArgs(Collection) - Method in class net.spy.db.DBSP
Fill in the arguments (with types) for the given list of parameters.
AUTH - Static variable in class net.spy.log.Syslog
 
AUTHPRIV - Static variable in class net.spy.log.Syslog
 
available() - Method in class net.spy.util.Base64InputStream
Return the number of bytes that may be read without blocking.
available() - Method in class net.spy.util.UUInputStream
Guess how many bytes are available.
availableObjects() - Method in class net.spy.pool.PoolContainer
Find out how many objects are available in this pool.

B

Base64 - Class in net.spy.util
Base64 block encoder/decoder.
Base64() - Constructor for class net.spy.util.Base64
Get a base64 encode/decoder.
Base64InputStream - Class in net.spy.util
A filter stream for decoding Base64 data on an InputStream.
Base64InputStream(InputStream) - Constructor for class net.spy.util.Base64InputStream
Get a new Base64InputStream decoding the given InputStream.
Base64OutputStream - Class in net.spy.util
A FilterOutputStream that encodes data into Base64.
Base64OutputStream(OutputStream) - Constructor for class net.spy.util.Base64OutputStream
Get a new Base64OutputStream encoding the given OutputStream.
BitArray - Class in net.spy.util
An array of bits.
BitArray(int) - Constructor for class net.spy.util.BitArray
Get an instance of BitArray with storage for a given number of bits.
BitArray() - Constructor for class net.spy.util.BitArray
Get an intance of BitArray.
BitArray(String) - Constructor for class net.spy.util.BitArray
Get a BitArray by parsing a string.
BrokenPromiseException - Exception in net.spy.util
Report on a broken promise.
BrokenPromiseException(String) - Constructor for exception net.spy.util.BrokenPromiseException
Get an instance of BrokenPromiseException with a message.
BrokenPromiseException(String, Throwable) - Constructor for exception net.spy.util.BrokenPromiseException
Get an instance of BrokenPromiseException with a message and a root cause Throwable.
buildConstructors() - Method in class net.spy.util.InterfaceImplementor
If true, build the default constructors.
buildConstructors() - Method in class net.spy.util.ProxyInterfaceImplementor
Don't create the default constructors.
BuildInfoTask - Class in net.spy.ant
Task to build a build info class for a package.
BuildInfoTask() - Constructor for class net.spy.ant.BuildInfoTask
Get an instance of BuildInfoTask.
byteAToHexString(byte[]) - Static method in class net.spy.util.SpyUtil
Get a string representing the hexidecimal value of the given byte array.
ByteConverionInputStream - Class in net.spy.util
Super class for all ascii decoding input streams.
ByteConverionInputStream(InputStream) - Constructor for class net.spy.util.ByteConverionInputStream
Get an instance of ByteConverionInputStream.

C

Cachable - Interface in net.spy.cache
Object that are self-maintaining in a cache.
CacheClearRequestListener - Class in net.spy.cache
Listen for multicast request to clear cache for a given prefix.
CacheClearRequestListener(InetAddress, int) - Constructor for class net.spy.cache.CacheClearRequestListener
Get an instance of CacheClearRequestListener.
CacheDelegate - Interface in net.spy.cache
The cache delegate is notified of any objects going in or out of the cache.
cachedEvent(Object) - Method in class net.spy.cache.AbstractCachable
Override cachedEvent to also send the message to the cached object if it wants it.
cachedEvent(Object) - Method in class net.spy.cache.AbstractCacheListener
Receive notification of having been cached.
cachedEvent(Object) - Method in interface net.spy.cache.CacheListener
Called whenever an object is added to a cache.
cachedObject(String, Cachable) - Method in interface net.spy.cache.CacheDelegate
Called whenever an object is added to the cache.
CachedResultSetStub - Class in net.spy.db
This object represents a cached java.sql.ResultSet.
CachedResultSetStub(ResultSet) - Constructor for class net.spy.db.CachedResultSetStub
Magically transform the passed in ResultSet to a CachedResultSet
CacheEntry - Interface in net.spy.factory
Interface for factory cache implementations.
cacheInstance(Instance) - Method in interface net.spy.factory.CacheEntry
Cache the given instance.
cacheInstance(Instance) - Method in class net.spy.factory.HashCacheEntry
Cache this instance.
CacheListener - Interface in net.spy.cache
Objects implementing this interface will be aware of when they're added to, or removed from a cache.
CachePreparedStatementStub - Class in net.spy.db
Prepared statement for executing cached queries
CachePreparedStatementStub(SpyDB, String, long) - Constructor for class net.spy.db.CachePreparedStatementStub
Create a CachePreparedStatement object for the given query (you probably don't want to do this directly).
calculatePaths(Collection) - Method in class net.spy.util.ShortestPathFinder
Calculate all the paths for all the nodes in the given collection.
calculatePaths(SPNode) - Method in class net.spy.util.ShortestPathFinder
Calculate all of the paths for a single node.
checkArgs() - Method in class net.spy.db.DBSP
Verify that the arguments, as given, are acceptable.
checkIn() - Method in class net.spy.pool.JDBCPoolAble
Overridden to deal with SQL Warnings.
checkIn() - Method in class net.spy.pool.PoolAble
Check the object back in.
checkIn() - Method in class net.spy.pool.PooledObject
Manually check the object back in.
checkOut() - Method in class net.spy.pool.PoolAble
Check the object out.
checkParent(File) - Method in class net.spy.ant.SPGenTask
Checks if a parent directory exists and, if not, creates it.
checkPassword(String, String) - Method in class net.spy.util.Digest
Check a plaintext password against a hashed password.
checkTooFewThreads() - Method in class net.spy.util.ThreadPoolManager
Check to see if there are too few threads to handle the current work load.
checkTooManyThreads() - Method in class net.spy.util.ThreadPoolManager
Check to see if there are too many idle threads.
clear() - Method in class net.spy.util.WeakHashSet
Remove all entries from this Set.
clearNextHops() - Method in class net.spy.util.AbstractSPNode
 
clearNextHops() - Method in interface net.spy.util.SPNode
Clear out the next hop map.
clearQueries() - Method in class net.spy.db.FileDriver
Remove all mapped queries.
clearWarnings() - Method in class net.spy.db.GenericResultSetStub
 
close() - Method in class net.spy.db.CachePreparedStatementStub
 
close() - Method in class net.spy.db.DBSP
Close this statement and whatever the superclass wants to do.
close() - Method in interface net.spy.db.DBSPLike
Get rid of this object.
close() - Method in class net.spy.db.GenericPreparedStatementStub
 
close() - Method in class net.spy.db.GenericResultSetStub
Close the ResultSet.
close() - Method in class net.spy.db.SpyDB
Free an established database connection - alias to freeDBConn()
close() - Method in class net.spy.net.SNPP
Close the connection to the SNPP server.
close() - Method in class net.spy.util.Base64OutputStream
Close this stream and finish up the Base64.
close() - Method in class net.spy.util.TTL
Calling this method states that we are no longer interested in the progress of this TTL.
cmd(String) - Method in class net.spy.net.SNPP
Send an SNPP command.
collect() - Method in class net.spy.pool.GarbageCollector
Run the garbage collection and perform finalization.
CollectionSavable - Class in net.spy.db.savables
Wrapper to save an existing collection.
CollectionSavable(Collection) - Constructor for class net.spy.db.savables.CollectionSavable
Get an instance of CollectionSavable.
COMMAND_NOT_IMPLEMENTED - Static variable in class net.spy.net.SNPP
Response code indicating that a command was issued that was not implemented.
compare(Object, Object) - Method in class net.spy.util.ToStringComparator
Perform the comparison.
compareTo(Object) - Method in class net.spy.util.Range
 
compareTo(Object) - Method in class net.spy.util.SPVertex
Compare this vertex to another vertex.
connect(String, Properties) - Method in class net.spy.db.FileDriver
 
ConnectionSource - Interface in net.spy.db
Interface for classes that will create database connections.
ConnectionSourceFactory - Class in net.spy.db
Get a connection source from a config.
contains(Comparable) - Method in class net.spy.util.Range
True if the given object lies within this range.
contains(Object) - Method in class net.spy.util.WeakHashSet
True if this Set contains the given Object.
countQs(String) - Static method in class net.spy.db.DBUtil
 
createPool(String, PoolFiller) - Method in class net.spy.pool.ObjectPool
Create a new object pool.
CRIT - Static variable in class net.spy.log.Syslog
 
Cron - Class in net.spy.cron
Watches a JobQueue and invokes the Jobs when they're ready.
Cron(JobQueue) - Constructor for class net.spy.cron.Cron
Get a new Cron instance operating on the given queue.
Cron(String, JobQueue) - Constructor for class net.spy.cron.Cron
Get a new Cron instance with a name, JobQueue and the default thread pool.
Cron(String, JobQueue, ThreadPool) - Constructor for class net.spy.cron.Cron
Get a new Cron object operating on the given queue.
CRON - Static variable in class net.spy.log.Syslog
 

D

DAEMON - Static variable in class net.spy.log.Syslog
 
data(String) - Method in class net.spy.net.SNPP
sets the message to send, keeps newlines and all that
DATA_OK - Static variable in class net.spy.net.SNPP
Response code indicating DATA command was accepted and input should begin.
DatabaseMetaDataQuerySelector - Class in net.spy.db
Query selection by database product name.
DatabaseMetaDataQuerySelector() - Constructor for class net.spy.db.DatabaseMetaDataQuerySelector
Get an instance of DatabaseMetaDataQuerySelector.
DBCP - Class in net.spy.db
Superclass for dynamic SQL calls.
DBCP(SpyConfig) - Constructor for class net.spy.db.DBCP
Get a DBCP object with the given DBConfig.
DBCP(Connection) - Constructor for class net.spy.db.DBCP
Get a DBCP object with the given Connection.
DBInitException - Exception in net.spy.db
Exception thrown when there's a database initialization problem.
DBInitException() - Constructor for exception net.spy.db.DBInitException
Get an instance of DBInitException.
DBInitException(String) - Constructor for exception net.spy.db.DBInitException
Get an instance of DBInitException with a message.
DBNull - Class in net.spy.db
Represents NULL data in DB parameters and stuff.
DBNull(int) - Constructor for class net.spy.db.DBNull
Get a new null object.
dbquoteStr(String) - Static method in class net.spy.db.SpyDB
Make a string safe for usage in a SQL query, quoting apostrophies, etc...
DBSP - Class in net.spy.db
Super class for all stored procedure calls.
DBSP(SpyConfig) - Constructor for class net.spy.db.DBSP
Get a new DBSP object with a given config.
DBSP(Connection) - Constructor for class net.spy.db.DBSP
Get a new DBSP object using the given Connection
DBSP.Argument - Class in net.spy.db
Arguments for DBSPs.
DBSP.Argument(int, String, Object) - Constructor for class net.spy.db.DBSP.Argument
Construct a new Argument.
DBSP.NamedObject - Class in net.spy.db
Objects with names.
DBSP.NamedObject(String) - Constructor for class net.spy.db.DBSP.NamedObject
Get an instance of a named object with the given name.
DBSP.Parameter - Class in net.spy.db
Parameters for DBSPs.
DBSP.Parameter(int, int, String) - Constructor for class net.spy.db.DBSP.Parameter
Construct a new Parameter.
DBSPLike - Interface in net.spy.db
Interface describing the basic DBSP features.
DBSPResult - Class in net.spy.db
ResultSet returned by DBSPs.
DBSPResult(ResultSet) - Constructor for class net.spy.db.DBSPResult
Get an instance of DBSPResult.
DBSQL - Class in net.spy.db
Superclass for dynamic SQL calls.
DBSQL(SpyConfig) - Constructor for class net.spy.db.DBSQL
Get a DBSQL object with the given DBConfig.
DBSQL(Connection) - Constructor for class net.spy.db.DBSQL
Get a DBSQL object with the given Connection.
DBTTL - Class in net.spy.db
Used to track checked out DB connections to report on connections that have been checked out longer than we expect them to be.
DBTTL(long) - Constructor for class net.spy.db.DBTTL
Get an instance of DBTTL.
DBTTL(long, Object) - Constructor for class net.spy.db.DBTTL
Get an instance of DBTTL with an extra object.
DBUtil - Class in net.spy.db
 
DBUtil() - Constructor for class net.spy.db.DBUtil
 
debug(Object, Throwable) - Method in class net.spy.log.AbstractLogger
Log a message at debug level.
debug(Object) - Method in class net.spy.log.AbstractLogger
Log a message at debug level.
DEBUG - Static variable in class net.spy.log.Level
Debug level.
debug(Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at debug level.
debug(Object) - Method in interface net.spy.log.Logger
Log a message at debug level.
DEBUG - Static variable in class net.spy.log.Syslog
 
debug(String) - Method in class net.spy.pool.PoolAble
Debugging info.
debugName() - Method in class net.spy.pool.PoolFiller
Get the debug name (including the pool's hash).
decode(String) - Method in class net.spy.util.Base64
Decode a string back into the bytes.
decodeString(InputStream) - Method in class net.spy.util.NetStringDecoder
Pull a netstring from the given InputStream and decode it.
DEFAULT_COST - Static variable in class net.spy.util.SPVertex
 
DEFAULT_MS_PER_LOOP - Static variable in class net.spy.util.LoopingThread
Default number of milliseconds to spend on each loop.
DEFAULT_QUERY - Static variable in interface net.spy.db.QuerySelector
Name of the default query in the map.
DefaultLogger - Class in net.spy.log
Default logger implementation.
DefaultLogger(String) - Constructor for class net.spy.log.DefaultLogger
Get an instance of DefaultLogger.
deHTML(String) - Static method in class net.spy.util.SpyUtil
Remove HTML tags from a string.
destroyPool(String) - Method in class net.spy.pool.ObjectPool
Destory a pool.
Digest - Class in net.spy.util
Digest for getting checksums, hashing passwords, stuff like that.
Digest() - Constructor for class net.spy.util.Digest
Get a new Digest object.
discard() - Method in class net.spy.pool.JDBCPoolAble
 
discard() - Method in class net.spy.pool.PoolAble
Discard the object.
discard() - Method in class net.spy.pool.SNPPPoolAble
 
DiskCache - Class in net.spy.cache
Simple local disk caching.
DiskCache(String) - Constructor for class net.spy.cache.DiskCache
Get an DiskObject using the given directory.
DiskCache(String, int) - Constructor for class net.spy.cache.DiskCache
Get a DiskCache using the given directory with a backing LRU cache of the specified size.
doReport() - Method in class net.spy.db.DBTTL
Report DB specific message.
doReport() - Method in class net.spy.util.TTL
Called when an object's TTL has expired without closing.
doUpdate() - Method in interface net.spy.db.FileDriver.Updater
Perform the update and return a value.
dumpObject(Object) - Method in class net.spy.util.ObjectDump
Dump the given object.
DUPLICATE_COMMAND_ENTRY - Static variable in class net.spy.net.SNPP
Response code indicating a command was implemented in duplicate.

E

EMERG - Static variable in class net.spy.log.Syslog
 
encode(byte[]) - Method in class net.spy.util.Base64
Encode some bytes to a base64 string.
encodeString(String, OutputStream) - Method in class net.spy.util.NetStringEncoder
Encode a String as a netstring to the given output stream.
entrySet() - Method in class net.spy.cache.DiskCache
 
Enumeriterator - Class in net.spy.util
Wrap an Enumeration to provide an Iterator interface.
Enumeriterator(Enumeration) - Constructor for class net.spy.util.Enumeriterator
Get an instance of Enumeriterator.
equals(Object) - Method in class net.spy.db.CachePreparedStatementStub
Equal if two objects have the same hash code, same query, and same parameters.
equals(Object) - Method in class net.spy.db.DBNull
True if o is a DBNull of the same type.
equals(Object) - Method in class net.spy.db.DBSP.NamedObject
Test for equality.
equals(Object) - Method in interface net.spy.factory.Instance
equals must be implemented for all Instance objects.
equals(Object) - Method in class net.spy.util.AbstractSPNode
 
equals(Object) - Method in class net.spy.util.IdentityEqualifier
True if this object has the same identity as the given object.
equals(Object) - Method in class net.spy.util.Range
True if the given object is a Range object that represents the same range.
equals(Object) - Method in interface net.spy.util.SPNode
Object.equals must be overridden to return results consistent to compareTo(other).
ERR - Static variable in class net.spy.log.Syslog
 
error(Object, Throwable) - Method in class net.spy.log.AbstractLogger
Log a message at error level.
error(Object) - Method in class net.spy.log.AbstractLogger
Log a message at error level.
ERROR - Static variable in class net.spy.log.Level
Error level.
error(Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at error level.
error(Object) - Method in interface net.spy.log.Logger
Log a message at error level.
EXCLUSIVE - Static variable in class net.spy.util.Range
Match type for exclusive matches.
execute() - Method in class net.spy.ant.BuildInfoTask
Create the BuildInfo class.
execute() - Method in class net.spy.ant.InterfaceImplementorTask
Perform the transformation.
execute() - Method in class net.spy.ant.ProxyInterfaceImplementorTask
Perform the generation.
execute() - Method in class net.spy.ant.SPGenTask
Performs the operation.
execute() - Method in class net.spy.db.DBCP
Execute a query for update only.
execute() - Method in class net.spy.util.Promise
Do the actual work required to get the Object we're promised.
executeQuery() - Method in class net.spy.db.CachePreparedStatementStub
 
executeQuery() - Method in class net.spy.db.DBSP
Execute the query.
executeQuery() - Method in interface net.spy.db.DBSPLike
Execute a query.
executeQuery(String, long) - Method in class net.spy.db.SpyCacheDB
Execute if we don't have valid cache.
executeQuery(String) - Method in class net.spy.db.SpyDB
Execute a query and return a resultset, will establish a database connection if necessary.
executeUpdate() - Method in class net.spy.db.CachePreparedStatementStub
 
executeUpdate() - Method in class net.spy.db.DBSP
Execute a query for update only.
executeUpdate() - Method in interface net.spy.db.DBSPLike
Execute an update.
executeUpdate(String) - Method in class net.spy.db.SpyDB
Execute a query that doesn't return a ResultSet, such as an update, delete, or insert.

F

fatal(Object, Throwable) - Method in class net.spy.log.AbstractLogger
Log a message at fatal level.
fatal(Object) - Method in class net.spy.log.AbstractLogger
Log a message at fatal level.
FATAL - Static variable in class net.spy.log.Level
Fatal level.
fatal(Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at fatal level.
fatal(Object) - Method in interface net.spy.log.Logger
Log a message at fatal level.
FATAL_ERROR - Static variable in class net.spy.net.SNPP
Response code indicating a fatal error which will be followed by a terminated connection.
FileDriver - Class in net.spy.db
 
FileDriver() - Constructor for class net.spy.db.FileDriver
 
FileDriver.Updater - Interface in net.spy.db
Interface for registering updates.
FileJobQueue - Class in net.spy.cron
Get a job queue as defined in a file.
FileJobQueue(ClassLoader, File) - Constructor for class net.spy.cron.FileJobQueue
Get a new FileJobQueue based on what's in the given file.
FileJobQueue(File) - Constructor for class net.spy.cron.FileJobQueue
Get a FileJobQueue from a file using the current classloader.
FileJobQueue(ClassLoader, Reader) - Constructor for class net.spy.cron.FileJobQueue
Get a new FileJobQueue from a Reader.
FileJobQueue(Reader) - Constructor for class net.spy.cron.FileJobQueue
Get a FileJobQueue from a reader using the current classloader.
FileResultSetStub - Class in net.spy.db
Stub class for building a ResultSet from a file.
FileResultSetStub(File) - Constructor for class net.spy.db.FileResultSetStub
Get an instance of FileResultSetStub.
finalize() - Method in class net.spy.db.AbstractSavable
If this object is still dirty during finalization, log it.
finalize() - Method in class net.spy.net.SNPP
 
finalize() - Method in class net.spy.pool.PooledObject
Finalization will check-in any checked-out object that has not already been checked in.
finalize() - Method in class net.spy.util.ThreadPool
Shuts down in case you didn't.
findColumn(String) - Method in class net.spy.db.GenericResultSetStub
 
findNextRun() - Method in class net.spy.cron.Job
Find the next time this Job should be run and adjust the start date accordingly.
flush(DatagramPacket) - Method in class net.spy.cache.CacheClearRequestListener
Do that crazy flush thing.
freeDBConn() - Method in class net.spy.db.SpyDB
Free an established database connection.
FTP - Static variable in class net.spy.log.Syslog
 

G

GarbageCollector - Class in net.spy.pool
Perform garbage collection with rate control.
generate() - Method in class net.spy.util.SPGen
Perform the actual generation.
generateCursorName() - Method in class net.spy.db.DBSQL
Generate (and set) a new cursor name.
generateWith(Class) - Method in class net.spy.ant.InterfaceImplementorTask
 
GenericPreparedStatementStub - Class in net.spy.db
 
GenericPreparedStatementStub(String) - Constructor for class net.spy.db.GenericPreparedStatementStub
 
GenericResultSetStub - Class in net.spy.db
This object contains all the common stuff required to stub a ResultSet implementation.
GenericResultSetStub(ResultSet) - Constructor for class net.spy.db.GenericResultSetStub
Magically transform the passed in ResultSet to a GenericResultSetStub
GenericResultSetStub() - Constructor for class net.spy.db.GenericResultSetStub
Get an instance of a GenericResultSetStub with no initialization.
GenFactory - Class in net.spy.factory
Generic object instance cache.
GenFactory(String, long) - Constructor for class net.spy.factory.GenFactory
Get an instance of GenFactory.
get(Object) - Method in class net.spy.cache.DiskCache
Get an object from the cache.
get(Object) - Method in class net.spy.cache.LRUCache
Get the named object from the cache.
get(String) - Method in class net.spy.cache.SpyCache
Get an object from the cache, returns null if there's not a valid object in the cache with this key.
get() - Method in class net.spy.util.IdentityEqualifier
Get the object this IdentityEqualifier is wrapping.
get(String) - Method in class net.spy.util.SpyConfig
Get the value for a given config entry.
get(String, String) - Method in class net.spy.util.SpyConfig
Get the value for a given config entry, with default.
get(Object) - Method in class net.spy.util.TimeStampedHashMap
Get an object from the map.
getAccessCount() - Method in class net.spy.cache.AbstractCachable
Get the number of times this object has been accessed.
getAccessCount() - Method in interface net.spy.cache.Cachable
Get the number of times this object has been accessed.
getActiveThreadCount() - Method in class net.spy.util.ThreadPool
Find out how many threads are still active (not shut down) in the pool.
getAllObjects() - Method in interface net.spy.factory.CacheEntry
Get all objects in this cache.
getAllObjects() - Method in class net.spy.factory.HashCacheEntry
Get all of the objects in this cache.
getApplicableArgs() - Method in class net.spy.db.GenericPreparedStatementStub
Get the args as can be applied to a database.
getArgs() - Method in class net.spy.db.GenericPreparedStatementStub
 
getArguments() - Method in class net.spy.db.DBSP
Get the arguments in parameter order.
getBaseDir() - Method in class net.spy.cache.DiskCache
Get the base directory which this cache is watching.
getBigDecimal(int) - Method in class net.spy.db.GenericResultSetStub
 
getBigDecimal(String) - Method in class net.spy.db.GenericResultSetStub
 
getBits(int, int) - Method in class net.spy.util.BitArray
Get a given number of bits from a given offset.
getBoolean(int) - Method in class net.spy.db.GenericResultSetStub
Get the given value as a boolean.
getBoolean(String) - Method in class net.spy.db.GenericResultSetStub
 
getBoolean(String) - Static method in class net.spy.util.SpyUtil
Returns a Boolean with a value represented by the specified String.
getBoolean(boolean) - Static method in class net.spy.util.SpyUtil
Get a boolean instance.
getById(int) - Method in interface net.spy.factory.CacheEntry
Get an object by id.
getById(int) - Method in class net.spy.factory.HashCacheEntry
Get the object at this ID.
getCache() - Method in class net.spy.factory.GenFactory
Get the cache for this factory.
getCachedObject() - Method in class net.spy.cache.AbstractCachable
Get the object that was cached.
getCachedObject() - Method in interface net.spy.cache.Cachable
Get the value that has been cached.
getCacheKey() - Method in class net.spy.cache.AbstractCachable
Get the cache key.
getCacheKey() - Method in interface net.spy.cache.Cachable
Get the key with which this object is cached.
getCacheTime() - Method in class net.spy.cache.AbstractCachable
Get the time at which this thing was cached.
getCacheTime() - Method in interface net.spy.cache.Cachable
Get the timestamp at which this object was cached.
getCacheTime() - Method in class net.spy.db.DBSP
Get the cache time configured for this SP.
getCacheTime() - Method in interface net.spy.db.DBSPLike
Get the cache time configured for this call.
getCallableStatement() - Method in class net.spy.db.DBCP
Get the CallableStatement for fetching output args.
getCapacity() - Method in class net.spy.util.RingBuffer
Get the total capacity of this RingBuffer.
getConfig() - Method in class net.spy.db.SpyDB
Get the configuration from which this SpyDB was instatiated.
getConfig() - Method in class net.spy.pool.PoolFiller
Get the config this uses.
getConn() - Method in class net.spy.db.SpyDB
Get a connection out of the pool.
getConnection(SpyConfig) - Method in interface net.spy.db.ConnectionSource
Get a new connection.
getConnection(SpyConfig) - Method in class net.spy.db.JDBCConnectionSource
Get a new connection from JDBC.
getConnection(SpyConfig) - Method in class net.spy.db.JNDIConnectionSource
This will get a connection to the JNDI resource.
getConnection(SpyConfig) - Method in class net.spy.db.ObjectPoolConnectionSource
 
getConnections() - Method in class net.spy.util.AbstractSPNode
 
getConnections() - Method in interface net.spy.util.SPNode
Get all of the connections to other nodes.
getConnectionSource(SpyConfig) - Method in class net.spy.db.ConnectionSourceFactory
Get a connection source by name.
getContent() - Method in class net.spy.net.URLItem
Get the content from the last fetch.
getContent(URL) - Method in class net.spy.net.URLWatcher
Get the content (as a String) for a given URL.
getCost() - Method in class net.spy.util.ShortestPath
Get the cost of this path.
getCost() - Method in class net.spy.util.SPVertex
Get the cost of this vertex.
getCurrentline() - Method in class net.spy.net.SNPP
Current full line received from the SNPP server.
getCurrentmessage() - Method in class net.spy.net.SNPP
Current message received from the SNPP server.
getCurrentStatus() - Method in class net.spy.net.SNPP
Current status received from SNPP server.
getCurrentStatusType() - Method in class net.spy.net.SNPP
Current status type received from SNPP server.
getData() - Method in class net.spy.net.HTTPFetch
Return the contents of the URL as a whole string.
getDate(int) - Method in class net.spy.db.GenericResultSetStub
 
getDate(String) - Method in class net.spy.db.GenericResultSetStub
 
getDocLink(Method) - Method in class net.spy.util.InterfaceImplementor
Get the relative javadoc signature for this method.
getDocLink(Constructor) - Method in class net.spy.util.InterfaceImplementor
Get the relative javadoc signature for this Constructor.
getDouble(int) - Method in class net.spy.db.GenericResultSetStub
 
getDouble(String) - Method in class net.spy.db.GenericResultSetStub
 
getEstimatedTimeRemaining(double) - Method in class net.spy.util.ProgressStats
Get the estimated number of seconds remaining with the given average time per unit.
getEstimatedTimeRemaining() - Method in class net.spy.util.ProgressStats
Get the estimated number of seconds remaining with the current average.
getExtraInfo() - Method in class net.spy.util.TTL
Get the extra info provided for the TTL report.
getFileData(File) - Static method in class net.spy.util.SpyUtil
Return the contents of a file as a string.
getFilename() - Method in class net.spy.util.UUInputStream
Get the filename the uuencoded originally wanted.
getFloat(int) - Method in class net.spy.db.GenericResultSetStub
 
getFloat(String) - Method in class net.spy.db.GenericResultSetStub
 
getGarbageCollector() - Static method in class net.spy.pool.GarbageCollector
Get the collector.
getGetAge() - Method in class net.spy.util.TimeStampedHashMap
How many milliseconds ago was the last get operation?
getHash(String, byte[]) - Method in class net.spy.util.Digest
Get a hash for a String with a known salt.
getHash(String) - Method in class net.spy.util.Digest
Get a hash for a given String.
getHigh() - Method in class net.spy.util.Range
Get the high object.
getHighMatch() - Method in class net.spy.util.Range
Get the high match type.
getHits() - Method in class net.spy.util.TimeStampedHashMap
Get the number of hits (number of requests for items that were actually there).
getId() - Method in class net.spy.db.SaveContext
Get the session ID for this context.
getId() - Method in interface net.spy.factory.Instance
Get the ID of this instance.
getIdleThreadCount() - Method in class net.spy.util.ThreadPool
Find out how many threads are idle.
getInitType() - Method in class net.spy.db.SpyDB
Get the type of initialization that created this object.
getInstance() - Static method in class net.spy.cache.SpyCache
Get the instance of SpyCache.
getInstance() - Static method in class net.spy.db.ConnectionSourceFactory
Get the singleton ConnectionSourceFactory instance.
getInstance() - Static method in class net.spy.db.GetPK
Get the instance of GetPK.
getInstance() - Static method in class net.spy.net.URLWatcher
Get the static instance of URLWatcher.
getInstance() - Static method in class net.spy.util.Base64
Get a singleton base64 instance.
getInstances() - Method in class net.spy.factory.GenFactory
Get the collection of all Instance objects to be cached.
getInt(int) - Method in class net.spy.db.GenericResultSetStub
 
getInt(String) - Method in class net.spy.db.GenericResultSetStub
 
getInt(String, int) - Method in class net.spy.util.SpyConfig
Get an int value for a given config entry.
getInterface() - Method in class net.spy.util.InterfaceImplementor
Get the interface we're implementing.
getJavaType() - Method in class net.spy.db.DBSP.Argument
Get the Types type of this parameter.
getJavaType() - Method in class net.spy.db.DBSP.Parameter
Get the Types type of this parameter.
getJobQueue() - Method in class net.spy.cron.Cron
Get the current job queue.
getLastAccessTime() - Method in class net.spy.cache.AbstractCachable
Get the timestamp of the last access of this object.
getLastAccessTime() - Method in interface net.spy.cache.Cachable
Get the timestamp of the last access.
getLastGet() - Method in class net.spy.util.TimeStampedHashMap
Find out the last time this thing last had a Get.
getLastModified() - Method in class net.spy.net.HTTPFetch
Get the last modified date of this response.
getLastProcessTime() - Method in class net.spy.util.ProgressStats
Get the number of milliseconds spent processing the last item.
getLastPut() - Method in class net.spy.util.TimeStampedHashMap
Find out the last time this thing last had a Put.
getLastRequest() - Method in class net.spy.net.URLItem
Find out when the last request was.
getLimit() - Method in class net.spy.util.LimitedList
Get the maximum number of elements that may be stored in this list.
getLines() - Method in class net.spy.net.HTTPFetch
Get a vector containing the individual lines of the document returned from the URL.
getLogger() - Method in class net.spy.cron.JobQueue
Get the logger for this instance.
getLogger(Class) - Static method in class net.spy.log.LoggerFactory
Get a logger by class.
getLogger(String) - Static method in class net.spy.log.LoggerFactory
Get a logger by name.
getLogger() - Method in class net.spy.SpyObject
Get a Logger instance for this class.
getLogger() - Method in class net.spy.SpyThread
Get a Logger instance for this class.
getLogger() - Method in class net.spy.util.TTL
Get the logger for this TTL.
getLong(int) - Method in class net.spy.db.GenericResultSetStub
 
getLong(String) - Method in class net.spy.db.GenericResultSetStub
 
getLow() - Method in class net.spy.util.Range
Get the low object.
getLowMatch() - Method in class net.spy.util.Range
Get the low match type.
getLSBBits(int) - Method in class net.spy.util.BitArray
Get a given number of the least significant bits.
getMajorVersion() - Method in class net.spy.db.FileDriver
 
getMaxIdleTime() - Method in class net.spy.net.URLItem
Get the maximum number of milliseconds this URL will remain in the container if nothing requests it.
getMaxTaskQueueSize() - Method in class net.spy.util.ThreadPool
Get the maximum size of the task queue.
getMaxTotalThreads() - Method in class net.spy.util.ThreadPool
Get the maximum number of total threads this pool may have.
getMessageFromBundle(String, String, String) - Method in class net.spy.util.TTL
Get the message format string from the named bundle.
getMetaData() - Method in class net.spy.db.GenericResultSetStub
 
getMinIdleThreads() - Method in class net.spy.util.ThreadPool
Get the minimum number of idle threads.
getMinorVersion() - Method in class net.spy.db.FileDriver
 
getMinTotalThreads() - Method in class net.spy.util.ThreadPool
Get the minimum number of threads that may exist in the thread pool at any moment.
getMisses() - Method in class net.spy.util.TimeStampedHashMap
Get the number of misses (number of requests for items that were not actually there).
getMode() - Method in class net.spy.util.UUInputStream
Get the mode the uuencoded stream originally wanted.
getMonitor() - Method in class net.spy.util.ThreadPool
Get the monitor that receives notifications when a worker thread finishes a job.
getMSBBits(int) - Method in class net.spy.util.BitArray
Get a given number of the most significant bits.
getMsPerLoop() - Method in class net.spy.util.LoopingThread
Get the number of milliseconds to sleep during each loop.
getName() - Method in class net.spy.cron.Job
Get the name of this thing.
getName() - Method in class net.spy.db.DBSP.NamedObject
Get the name of this object.
getName() - Method in class net.spy.log.AbstractLogger
Get the name of this logger.
getName() - Method in class net.spy.log.Level
Get the name of this level.
getName() - Method in interface net.spy.log.Logger
Get the name of this logger.
getName() - Method in class net.spy.pool.PoolContainer
Get the name of the pool.
getName() - Method in class net.spy.pool.PoolFiller
Get the name of this filler.
getNewCacheEntry() - Method in class net.spy.factory.GenFactory
Get a CacheEntry instance to be populated with a collection of Instance objects.
getNextHop(SPNode) - Method in class net.spy.util.AbstractSPNode
 
getNextHop(SPNode) - Method in interface net.spy.util.SPNode
Get the next hop to take you to the given node.
getNextHops() - Method in class net.spy.util.AbstractSPNode
 
getNextHops() - Method in interface net.spy.util.SPNode
Get the mapping of SPNode -> SPVertex hops for this SPNode.
getNextStartDate() - Method in class net.spy.cron.JobQueue
Get the time the next job will start.
getNumPuts() - Method in class net.spy.util.TimeStampedHashMap
Get the total number of put() invocations.
getObject(int) - Method in class net.spy.db.GenericResultSetStub
 
getObject(String) - Method in class net.spy.db.GenericResultSetStub
 
getObject(int) - Method in class net.spy.factory.GenFactory
Get an object by ID.
getObject() - Method in class net.spy.pool.JDBCPoolFiller
get a new object for the pool.
getObject(String) - Method in class net.spy.pool.ObjectPool
Get an object from a pool.
getObject() - Method in class net.spy.pool.PoolAble
Get the object we're pooling.
getObject() - Method in class net.spy.pool.PoolContainer
Get an object from the pool.
getObject() - Method in class net.spy.pool.PooledObject
Get the object we just checked out.
getObject() - Method in class net.spy.pool.PoolFiller
Get an object for the pool.
getObject() - Method in class net.spy.pool.SNPPPoolFiller
get a new object for the pool.
getObject() - Method in class net.spy.util.Promise
Get the object.
getObjectID() - Method in class net.spy.pool.PoolAble
Get the object ID of this object.
getObjectID() - Method in class net.spy.pool.PooledObject
Get the objectID for the pool object we have checked out.
getObjects() - Method in class net.spy.factory.GenFactory
Get all objects cached by this factory.
getOutClassName() - Method in class net.spy.util.InterfaceImplementor
Get the name of the class we'll be generating
getOutPackageName() - Method in class net.spy.util.InterfaceImplementor
Get the name of the package containing class we'll be generating
getOverallAverage() - Method in class net.spy.util.ProgressStats
Get the overall average.
getParameters() - Method in class net.spy.db.DBSP
Get a List containing all parameters.
getParameters(int) - Method in class net.spy.db.DBSP
Get a List of parameters of a specific type.
getParameterType(String) - Method in class net.spy.db.DBSP
Get the DBSP.Parameter type.
getParams() - Method in class net.spy.db.DBSP
Get a List of all of the parameters in the order in which they were defined.
getParamType() - Method in class net.spy.db.DBSP.Parameter
Get the type of this parameter.
getPass(int) - Static method in class net.spy.util.PwGen
Get a random string at the given length using the NUMBER_UPPER set.
getPass(int, char[]) - Static method in class net.spy.util.PwGen
Get a random string with the given length and character set.
GetPK - Class in net.spy.db
Primary key generator.
GetPK() - Constructor for class net.spy.db.GetPK
Constructor for an extensible Singleton.
getPoolHash() - Method in class net.spy.pool.PoolFiller
Get the hash of the pool this filler is filling.
getPoolName() - Method in exception net.spy.pool.NoSuchPoolException
Get the name of the pool that is missing.
getPostSavables(SaveContext) - Method in class net.spy.db.AbstractSavable
Get the dependent objects for this Savable.
getPostSavables(SaveContext) - Method in interface net.spy.db.Savable
Get a Collection of all of the SavableNodes this SavableNode is holding that will need to be saved after this Savable.
getPostSavables(SaveContext) - Method in class net.spy.db.savables.CollectionSavable
Get the collection.
getPostSavables(SaveContext) - Method in class net.spy.db.savables.SavableHashMap
 
getPostSavables(SaveContext) - Method in class net.spy.db.savables.SavableHashSet
 
getPreparedStatement() - Method in class net.spy.db.DBSP
Get the prepared statement on which this DBSP will operate.
getPreSavables(SaveContext) - Method in class net.spy.db.AbstractSavable
Get the objects that need to be saved before this object.
getPreSavables(SaveContext) - Method in interface net.spy.db.Savable
Get a Collection of all of the SavableNodes this SavableNode is holding that will need to be saved before this Savable.
getPreSavables(SaveContext) - Method in class net.spy.db.savables.SavableHashMap
 
getPreSavables(SaveContext) - Method in class net.spy.db.savables.SavableHashSet
 
getPrimaryKey(SpyConfig, String) - Method in class net.spy.db.GetPK
Get a primary key from the database described in the given config.
getPriority() - Method in class net.spy.util.ThreadPool
Get the priority that will be used for any new threads within this thread group.
getProperty(String, String) - Method in class net.spy.pool.PoolFiller
 
getProperty(String) - Method in class net.spy.pool.PoolFiller
 
getPropertyInfo(String, Properties) - Method in class net.spy.db.FileDriver
 
getPropertyInt(String, int) - Method in class net.spy.pool.PoolFiller
 
getPutAge() - Method in class net.spy.util.TimeStampedHashMap
How many milliseconds ago was the last put operation?
getQuery(Connection, Map) - Method in class net.spy.db.DatabaseMetaDataQuerySelector
 
getQuery(String, Map) - Method in class net.spy.db.DatabaseMetaDataQuerySelector
Attempt to get a query in the given map by a name.
getQuery() - Method in class net.spy.db.DBSP
Get the query this DBSP will be calling.
getQuery() - Method in class net.spy.db.GenericPreparedStatementStub
 
getQuery(Connection, Map) - Method in interface net.spy.db.QuerySelector
Get the query for the given connection.
getQuerySelector() - Static method in class net.spy.db.QuerySelectorFactory
Get the QuerySelector instance.
getQueryTimeout() - Method in class net.spy.db.DBSP
Get the timeout for this query
getQueryTimeout() - Method in interface net.spy.db.DBSPLike
Get the query timeout.
getReaderAsString(Reader) - Static method in class net.spy.util.SpyUtil
Load the contents of the given reader as a String.
getReadyJobs() - Method in class net.spy.cron.JobQueue
Get an Iterator of Jobs that are ready to run.
getReference(Object) - Method in class net.spy.util.ReferenceSet
Obtain the desired type of reference to the given object.
getReference(Object) - Method in class net.spy.util.SoftHashSet
Return a soft reference.
getRegisteredQueries() - Method in class net.spy.db.DBSQL
Get the registered queries.
getReportInterval() - Method in class net.spy.util.TTL
Get the report interval.
getResponse(String) - Method in class net.spy.net.SNPP
Check for a response from a 2way message.
getResponse() - Method in class net.spy.net.SNPP
Check for a response from a 2way message.
getResponseHeaders() - Method in class net.spy.net.HTTPFetch
Get the response headers from the request (will force a content fetch).
getResultColumn(int) - Method in class net.spy.db.GenericResultSetStub
Get the Object at the given result column for the current result row.
getRunningAverage() - Method in class net.spy.util.ProgressStats
Get the running average of the number of seconds spent processing.
getSaltFreeHash(String) - Method in class net.spy.util.Digest
Get a hash for a String with no salt.
getSaltFreeHashBytes(String) - Method in class net.spy.util.Digest
Get the hash for a given string (with no salt).
getSelectDBSP(Connection) - Method in class net.spy.db.GetPK
Get the DBSP required for selecting primary key information back out of the primary key table.
getShort(int) - Method in class net.spy.db.GenericResultSetStub
 
getShort(String) - Method in class net.spy.db.GenericResultSetStub
 
getSignature(Method) - Method in class net.spy.util.InterfaceImplementor
Get the method signature.
getSignature(Method, boolean) - Method in class net.spy.util.InterfaceImplementor
Get a String representing this method signature.
getSocket(InetAddress, int, int) - Static method in class net.spy.net.TimedSocket
Connect to a given host and port for a bit.
getSource() - Method in class net.spy.db.SpyDB
Get the source of connections.
getSPName() - Method in class net.spy.db.DBSP
Get the SP name.
getStartThreads() - Method in class net.spy.util.ThreadPool
Get the number of threads to spin up when bringing up this ThreadPool.
getStartTime() - Method in class net.spy.cron.Job
Get the time this job was requested to start.
getStats(String) - Method in class net.spy.util.ProgressStats
Get a string representation fo the processing statistics.
getStats() - Method in class net.spy.util.ProgressStats
Get a string representation of the processing statistics using the default format.
getStatus() - Method in class net.spy.net.HTTPFetch
Get the HTTP status from this request.
getString(int) - Method in class net.spy.db.GenericResultSetStub
Get the given column as a string.
getString(String) - Method in class net.spy.db.GenericResultSetStub
 
getStrippedData() - Method in class net.spy.net.HTTPFetch
Return the contents of the URL with the HTML tags stripped out.
getSuperclass() - Method in class net.spy.util.InterfaceImplementor
Get the parent class of the generated class.
getTag() - Method in class net.spy.net.SNPP
gets the message tag on a 2way page
getTaskCount() - Method in class net.spy.util.ThreadPool
Find out how many tasks are in the queue.
getThreadCount() - Method in class net.spy.util.ThreadPool
Get the total number of threads in this pool.
getThreadPool() - Method in class net.spy.util.ThreadPoolManager
Get the ThreadPool we're watching.
getTime(int) - Method in class net.spy.db.GenericResultSetStub
 
getTime(String) - Method in class net.spy.db.GenericResultSetStub
 
getTimeIncrement() - Method in cl