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 class net.spy.cron.Job
Get the current TimeIncrement object incrementing the time on this job.
getTimestamp(int) - Method in class net.spy.db.GenericResultSetStub
 
getTimestamp(String) - Method in class net.spy.db.GenericResultSetStub
 
getTimestamp() - Method in class net.spy.util.TimeStampedHashMap
Find out the last time this thing was used (put or get was called).
getTo() - Method in class net.spy.util.SPVertex
Get the destination node.
getTTL() - Method in class net.spy.util.TTL
Get the number of milliseconds this TTL object is expected to be in use.
getTTLMonitor() - Static method in class net.spy.util.TTLMonitor
Get the singleton instance of the TTLMonitor.
getType() - Method in class net.spy.db.DBNull
Get the data type of this nullness.
getType(String) - Method in class net.spy.db.DBSP
Get the Types type of the given parameter.
getTypes() - Method in class net.spy.db.GenericPreparedStatementStub
 
getUpdateDBSP(Connection) - Method in class net.spy.db.GetPK
Get the DBSP required for updating the primary key table.
getURL() - Method in class net.spy.net.URLItem
Get the URL this thing is watching.
getUseAge() - Method in class net.spy.util.TimeStampedHashMap
How many milliseconds ago was the last put or get operation?
getValue() - Method in class net.spy.db.DBSP.Argument
Get the value of this argument.
getWarnings() - Method in class net.spy.db.DBSP
Get the warnings.
getWarnings() - Method in class net.spy.db.GenericResultSetStub
 
getWatermark() - Method in class net.spy.util.TimeStampedHashMap
Get the watermark (maximum number of objects seen at any one time).
goServer() - Method in class net.spy.util.QuickRun
Start up the server.

H

handleNullLookup(int) - Method in class net.spy.factory.GenFactory
This method is called whenever getObject would return null.
HashCacheEntry - Class in net.spy.factory
An implementation of CacheEntry that is backed by a HashMap.
HashCacheEntry() - Constructor for class net.spy.factory.HashCacheEntry
Get an instance of HashCacheEntry.
hashCode() - Method in class net.spy.db.CachePreparedStatementStub
Get an integer hash code to uniquely identify this object.
hashCode() - Method in class net.spy.db.DBNull
Get the hashcode for this object.
hashCode() - Method in class net.spy.db.DBSP.NamedObject
Get the hash code of the name of this object.
hashCode() - Method in interface net.spy.factory.Instance
HashCode must be implemented for all Instance objects.
hashCode() - Method in class net.spy.util.AbstractSPNode
Must override hashCode along with compareTo();
hashCode() - Method in class net.spy.util.IdentityEqualifier
The hashcode of this object.
hashCode() - Method in class net.spy.util.Range
Get a predictable hash code.
hashCode() - Method in interface net.spy.util.SPNode
Object.hashCode must be overridden to return a consistent hashCode.
hasNext() - Method in class net.spy.util.Enumeriterator
Determine whether this Iterator has more elements.
hasPool(String) - Method in class net.spy.pool.ObjectPool
Find out if the ObjectPool contains the named pool.
hasReported() - Method in class net.spy.util.TTL
True if the TTL object has reported.
hasWrapped() - Method in class net.spy.util.RingBuffer
Check to see if the ring buffer has wrapped.
HTTPFetch - Class in net.spy.net
Oversimplified HTTP document fetcher.
HTTPFetch(URL) - Constructor for class net.spy.net.HTTPFetch
Get an HTTPFetch instance for the given URL.
HTTPFetch(URL, Map) - Constructor for class net.spy.net.HTTPFetch
Get an HTTPFetch instance for the given URL and headers.

I

IdentityEqualifier - Class in net.spy.util
A wrapper object used to compare two objects on the basis of identity rather than equality.
IdentityEqualifier(Object) - Constructor for class net.spy.util.IdentityEqualifier
Get an IdentityEqualifier wrapping the given object.
implement(Method) - Method in class net.spy.util.InterfaceImplementor
Implement the given method.
implement(Method) - Method in class net.spy.util.ProxyInterfaceImplementor
Implement this method as a proxy wrapper around the contained object.
INCLUSIVE - Static variable in class net.spy.util.Range
Match type for inclusive matches.
info(Object, Throwable) - Method in class net.spy.log.AbstractLogger
Log a message at info level.
info(Object) - Method in class net.spy.log.AbstractLogger
Log a message at info level.
INFO - Static variable in class net.spy.log.Level
Info level.
info(Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at info level.
info(Object) - Method in interface net.spy.log.Logger
Log a message at info level.
INFO - Static variable in class net.spy.log.Syslog
 
init() - Method in class net.spy.db.SpyDB
Initialize SpyDB.
INIT_FROM_CONFIG - Static variable in class net.spy.db.SpyDB
Initialization type for SpyDB initialized from a config.
INIT_FROM_CONN - Static variable in class net.spy.db.SpyDB
Initialization type for SpyDB initialized from a Connection.
initNameMap() - Method in class net.spy.db.DatabaseMetaDataQuerySelector
Initialize the prefix to name map.
Instance - Interface in net.spy.factory
An instance of an object returned from a factory.
InterfaceImplementor - Class in net.spy.util
Extend existing classes with missing methods required to implement a specified interface.
InterfaceImplementor(Class) - Constructor for class net.spy.util.InterfaceImplementor
Get a new InterfaceImplementor to implement the passed in interface.
InterfaceImplementorTask - Class in net.spy.ant
Task to implement an interface.
InterfaceImplementorTask() - Constructor for class net.spy.ant.InterfaceImplementorTask
Get an instance of InterfaceImplementorTask.
intGetObject() - Method in class net.spy.pool.PoolAble
Internal version of getObject().
IOTimeoutException - Exception in net.spy.net
Exception thrown when IOs timeout.
IOTimeoutException(String) - Constructor for exception net.spy.net.IOTimeoutException
Get an instance of IOTimeoutException.
isAlive() - Method in class net.spy.cron.Job
Is this job alive (is it running)?
isAlive() - Method in class net.spy.pool.JDBCPoolAble
Find out of the JDBCPoolAble represents a usable object.
isAlive() - Method in class net.spy.pool.PoolAble
Find out of the PoolAble represents a usable object.
isAlive() - Method in class net.spy.pool.PooledObject
Find out if the object is alive
isAlive() - Method in class net.spy.pool.SNPPPoolAble
Find out of the SNPPPoolAble represents a usable object.
isAvailable() - Method in class net.spy.pool.PoolAble
Find out if the object is available for a requestor
isCheckedOut() - Method in class net.spy.pool.PoolAble
Find out if the object is checked out.
isClosed() - Method in class net.spy.db.SpyDB
Has close() been called?
isClosed() - Method in class net.spy.util.TTL
Return true if this TTL is no longer interesting.
isDebugEnabled() - Method in class net.spy.db.DBSP
Find out if debug is enabled.
isDebugEnabled() - Method in class net.spy.log.AbstractLogger
True if debug is enabled for this logger.
isDebugEnabled() - Method in class net.spy.log.DefaultLogger
False.
isDebugEnabled() - Method in class net.spy.log.Log4JLogger
True if the underlying logger would allow debug messages through.
isDebugEnabled() - Method in interface net.spy.log.Logger
True if debug is enabled for this logger.
isDebugEnabled() - Method in class net.spy.log.SunLogger
True if the underlying logger would allow Level.FINE through.
isEmpty() - Method in class net.spy.util.WeakHashSet
True if this set contains no elements.
isExpired() - Method in interface net.spy.cache.Cachable
Determine whether this cache entry has expired.
isExpired() - Method in class net.spy.util.TTL
Ask a TTL if it's expired.
isInfoEnabled() - Method in class net.spy.log.AbstractLogger
True if debug is enabled for this logger.
isInfoEnabled() - Method in class net.spy.log.DefaultLogger
True.
isInfoEnabled() - Method in class net.spy.log.Log4JLogger
True if the underlying logger would allow info messages through.
isInfoEnabled() - Method in interface net.spy.log.Logger
True if info is enabled for this logger.
isInfoEnabled() - Method in class net.spy.log.SunLogger
True if the underlying logger would allow Level.INFO through.
isModified() - Method in class net.spy.db.AbstractSavable
Indicate whether this object has been modified.
isModified() - Method in interface net.spy.db.Savable
Has this object been modified?
isModified() - Method in class net.spy.db.savables.SavableHashMap
 
isModified() - Method in class net.spy.db.savables.SavableHashSet
 
isNew() - Method in class net.spy.db.AbstractSavable
Indicate whether this object is new.
isNew() - Method in interface net.spy.db.Savable
Is this a new object?
isNew() - Method in class net.spy.db.savables.SavableHashMap
 
isNew() - Method in class net.spy.db.savables.SavableHashSet
 
isReady() - Method in class net.spy.cron.Job
Is this Job ready to go?
isRunning() - Method in class net.spy.cron.Cron
True if this Cron instance is still running.
isTrash() - Method in class net.spy.cron.Job
Is this Job ready to be thrown away?
isValidBase64Char(char) - Method in class net.spy.util.Base64
Is this character a valid Base64 character?
isValidJDBCType(String) - Static method in class net.spy.util.SPGen
Return true if this is a valid JDBC type.
isWatching(URL) - Method in class net.spy.net.URLWatcher
Find out if this URLWatcher is watching a given URL.
iterator() - Method in class net.spy.util.ReferenceSet
Get an iterator.
iterator() - Method in class net.spy.util.RingBuffer
Get the iterator for this ring buffer.
iterator() - Method in class net.spy.util.WeakHashSet
Get the Iterator for the backing Map.

J

jdbcCompliant() - Method in class net.spy.db.FileDriver
 
JDBCConnectionSource - Class in net.spy.db
Implementation of ConnectionSource that gets connections directly from JDBC.
JDBCConnectionSource() - Constructor for class net.spy.db.JDBCConnectionSource
 
JDBCPoolAble - Class in net.spy.pool
PoolAble object for containing a JDBC object.
JDBCPoolAble(Object, int) - Constructor for class net.spy.pool.JDBCPoolAble
Get a JDBC poolable.
JDBCPoolAble(Object, long, int) - Constructor for class net.spy.pool.JDBCPoolAble
Get a JDBC poolable.
JDBCPoolFiller - Class in net.spy.pool
PoolFiller object to fill a pool with JDBC PoolAbles
JDBCPoolFiller(String, SpyConfig) - Constructor for class net.spy.pool.JDBCPoolFiller
Instantiate the JDBCPoolFiller.
JNDIConnectionSource - Class in net.spy.db
Connection source for getting DB connections from JNDI sources.
JNDIConnectionSource() - Constructor for class net.spy.db.JNDIConnectionSource
Get an instance of JNDIConnectionSource.
Job - Class in net.spy.cron
All Jobs should implement this interface.
Job(String, Date) - Constructor for class net.spy.cron.Job
Get a new Job with the given name and start date.
Job(String, Date, TimeIncrement) - Constructor for class net.spy.cron.Job
Get a new recurring Job with the given name and start date that will run on an interval defined by the TimeIncrement.
jobComplete(Runnable) - Method in class net.spy.util.ThreadPoolObserver
This method will be called to indicate the completion of a job.
JobQueue - Class in net.spy.cron
This is where all the jobs go.
JobQueue() - Constructor for class net.spy.cron.JobQueue
Get a new job queue.
join(Enumeration, String) - Static method in class net.spy.util.SpyUtil
Join an Enumeration of Strings on a join string.
join(Iterator, String) - Static method in class net.spy.util.SpyUtil
Join an Iterator of Objects on a join string.
join(Collection, String) - Static method in class net.spy.util.SpyUtil
Join a Collection of Objects on a join string.

K

KERN - Static variable in class net.spy.log.Syslog
 
KeyStore - Class in net.spy.db
Store a range of primary keys.
KeyStore(BigDecimal, BigDecimal) - Constructor for class net.spy.db.KeyStore
Get an instance of KeyStore.

L

Level - Class in net.spy.log
Levels for logging.
LimitedList - Class in net.spy.util
A LinkedList with a maximum capacity.
LimitedList(int) - Constructor for class net.spy.util.LimitedList
Get an instance of Queue.
LineGettingOutputStream - Class in net.spy.log
An output stream that processes a line at a time.
LineGettingOutputStream() - Constructor for class net.spy.log.LineGettingOutputStream
Get an instance of LineGettingOutputStream.
linkTo(SPNode, int) - Method in class net.spy.util.AbstractSPNode
Link this SPNode to the given SPNode at the given cost.
linkTo(SPNode) - Method in class net.spy.util.AbstractSPNode
Link this SPNode to the given SPNode at the default cost.
loadConfig(File) - Method in class net.spy.util.SpyConfig
Try to load a config file.
loadConfig(File[]) - Method in class net.spy.util.SpyConfig
Try to load a config file.
LOCAL0 - Static variable in class net.spy.log.Syslog
 
LOCAL1 - Static variable in class net.spy.log.Syslog
 
LOCAL2 - Static variable in class net.spy.log.Syslog
 
LOCAL3 - Static variable in class net.spy.log.Syslog
 
LOCAL4 - Static variable in class net.spy.log.Syslog
 
LOCAL5 - Static variable in class net.spy.log.Syslog
 
LOCAL6 - Static variable in class net.spy.log.Syslog
 
LOCAL7 - Static variable in class net.spy.log.Syslog
 
log(Level, Object) - Method in class net.spy.log.AbstractLogger
Log a message at the given level.
log(Level, Object, Throwable) - Method in class net.spy.log.AbstractLogger
Subclasses should implement this method to determine what to do when a client wants to log at a particular level.
log(Level, Object, Throwable) - Method in class net.spy.log.DefaultLogger
 
log(Level, Object, Throwable) - Method in class net.spy.log.Log4JLogger
Wrapper around log4j.
log(Level, Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at the specified level.
log(Level, Object) - Method in interface net.spy.log.Logger
Log a message at the specified level.
log(Level, Object, Throwable) - Method in class net.spy.log.SunLogger
Wrapper around sun logger.
log(int, int, String) - Method in class net.spy.log.Syslog
Send a log message.
Log4JLogger - Class in net.spy.log
Logging implementation using log4j.
Log4JLogger(String) - Constructor for class net.spy.log.Log4JLogger
Get an instance of Log4JLogger.
Logger - Interface in net.spy.log
Abstract mechanism for dealing with logs from various objects.
LoggerFactory - Class in net.spy.log
Factory to get logger instances.
LoggingOutputStream - Class in net.spy.log
An OutputStream that logs to a Logger.
LoggingOutputStream(String) - Constructor for class net.spy.log.LoggingOutputStream
Get an instance of LoggingOutputStream.
LoggingOutputStream(String, Level) - Constructor for class net.spy.log.LoggingOutputStream
Get an instance of LoggingOutputStream.
LoopingThread - Class in net.spy.util
A Thread that loops over a runLoop().
LoopingThread() - Constructor for class net.spy.util.LoopingThread
Get an instance of LoopingThread.
LoopingThread(String) - Constructor for class net.spy.util.LoopingThread
Get a LoopingThread with a specified name.
LoopingThread(ThreadGroup, String) - Constructor for class net.spy.util.LoopingThread
Get a looping thread belonging to a specific group and having the specified name.
LPR - Static variable in class net.spy.log.Syslog
 
LRUCache - Class in net.spy.cache
A fixed-size least-recently-used cache.
LRUCache(int) - Constructor for class net.spy.cache.LRUCache
Get an instance of LRUCache.

M

MAIL - Static variable in class net.spy.log.Syslog
 
main(String[]) - Static method in class net.spy.cron.Cron
Run a Cron instance against a FileJobQueue.
main(String[]) - Static method in class net.spy.util.Digest
Commandline testing.
main(String[]) - Static method in class net.spy.util.InterfaceImplementor
 
main(String[]) - Static method in class net.spy.util.ProxyInterfaceImplementor
Create a proxy class for the specified interface.
main(String[]) - Static method in class net.spy.util.QuickRun
Testing.
main(String[]) - Static method in class net.spy.util.SPGen
Usage: SPGen filename
main(String[]) - Static method in class net.spy.util.SpyRunner
The main portion of SpyRunner.
main(String[]) - Static method in class net.spy.util.TypeNameGen
Write out the TypeNames implementation.
MainJob - Class in net.spy.cron
A job that invokes a class's main() method at run time.
MainJob(ClassLoader, String, String[], Date) - Constructor for class net.spy.cron.MainJob
Get a new ``at style'' MainJob.
MainJob(ClassLoader, String, String[], Date, TimeIncrement) - Constructor for class net.spy.cron.MainJob
Get a new ``cron style'' MainJob.
makeSource() - Method in class net.spy.util.InterfaceImplementor
Generate the source code for the class this object represents.
markFinished() - Method in class net.spy.cron.Job
Mark this job as having stopped running.
markFinished() - Method in class net.spy.net.URLItem
Override the finished mark to also stop this job if it hasn't been touched recently enough.
markStarted() - Method in class net.spy.cron.Job
Mark this job as having been started.
markSupported() - Method in class net.spy.util.ByteConverionInputStream
Marking and resetting are not supported in this filter by default.
MAX_ENTRIES_EXCEEDED - Static variable in class net.spy.net.SNPP
Response code indicating too many of something was entered (i.e.
MAY_CLEAN - Static variable in class net.spy.pool.PoolAble
Minimum value returned from pruneStatus() if we may clean the object.
message(String) - Method in class net.spy.net.SNPP
sets the message to send
modify() - Method in class net.spy.db.AbstractSavable
Mark this AbstractSavable as modified.
MSG_AWAITING_ACK - Static variable in class net.spy.net.SNPP
Response code indicating a message was delivered and is awaiting a reply ACK.
MSG_AWAITING_REPLY - Static variable in class net.spy.net.SNPP
Response code indicating a message was delivered and is awaiting a reply.
MSG_DELIVERED - Static variable in class net.spy.net.SNPP
Response code indicating a message has been delivered.
MSG_QUEUED - Static variable in class net.spy.net.SNPP
Response code indicating a message was queued for delivery.
MTYPE_DATA_SUCCESS - Static variable in class net.spy.net.SNPP
Message type indicating DATA was accepted and server is ready for input.
MTYPE_PERM_FAILURE - Static variable in class net.spy.net.SNPP
Message type indicating a permanent failure.
MTYPE_SUCCESS - Static variable in class net.spy.net.SNPP
Message type indicating success.
MTYPE_SUCCESS_2WAY - Static variable in class net.spy.net.SNPP
Message type indicating a successful two-way transaction.
MTYPE_SUCCESS_QUEUED - Static variable in class net.spy.net.SNPP
Successful queued transaction.
MTYPE_TEMP_FAILURE - Static variable in class net.spy.net.SNPP
Message type indicating a temporary failure.
MTYPE_UNSUCCESSFUL_2WAY - Static variable in class net.spy.net.SNPP
Message type indicating an unsuccesful two-way specific transaction.
MULTILINE_HELP - Static variable in class net.spy.net.SNPP
Response code indicating a line of multiline help.
MUST_CLEAN - Static variable in class net.spy.pool.PoolAble
Minimum value returned from pruneStatus() if we must clean the object.

N

net.spy - package net.spy
General Spy Utilites
net.spy.ant - package net.spy.ant
Ant Tasks
net.spy.cache - package net.spy.cache
SPY Caching System
net.spy.cron - package net.spy.cron
Cron type functionality in Java
net.spy.db - package net.spy.db
SPY Database Layer
net.spy.db.savables - package net.spy.db.savables
Savable Collections, etc...
net.spy.factory - package net.spy.factory
SPY Generic Factory System
net.spy.log - package net.spy.log
Spy Log System
net.spy.net - package net.spy.net
Spy Network Stuff
net.spy.pool - package net.spy.pool
Spy Object Pooling System
net.spy.util - package net.spy.util
General Spy Utilites
NetStringDecoder - Class in net.spy.util
Decode netstrings.
NetStringDecoder(String) - Constructor for class net.spy.util.NetStringDecoder
Get an instance of NetStringDecoder.
NetStringEncoder - Class in net.spy.util
Encode netstrings.
NetStringEncoder(String) - Constructor for class net.spy.util.NetStringEncoder
Get an instance of NetStringEncoder.
newCopy() - Method in class net.spy.db.CachedResultSetStub
Make a copy of this object.
NEWS - Static variable in class net.spy.log.Syslog
 
next() - Method in class net.spy.db.GenericResultSetStub
Seek to the next row in this ResultSet.
next() - Method in class net.spy.util.Enumeriterator
Get the next object.
nextDate(Date) - Method in class net.spy.cron.TimeIncrement
Get the next value of this Date.
nextKey() - Method in class net.spy.db.KeyStore
Get the next key.
nextResults() - Method in class net.spy.db.DBSP
Get the next result set.
NoPathException - Exception in net.spy.util
 
NoPathException(SPNode, SPNode) - Constructor for exception net.spy.util.NoPathException
Get an instance of NoPathException.
NoPathException(SPNode, SPNode, String) - Constructor for exception net.spy.util.NoPathException
Get an instance of NoPathException with a message.
NoSuchPoolException - Exception in net.spy.pool
Exception thrown when there's NoSuchPool.
NoSuchPoolException(String) - Constructor for exception net.spy.pool.NoSuchPoolException
Get an instance of NoSuchPoolException.
NOTICE - Static variable in class net.spy.log.Syslog
 
NULLS_FIRST - Static variable in class net.spy.util.ToStringComparator
For sort order with nulls first.
NULLS_LAST - Static variable in class net.spy.util.ToStringComparator
For sort order with nulls last.
NUMBER_LOWER - Static variable in class net.spy.util.PwGen
Character set containing numeric and lowercase characters.
NUMBER_UPPER - Static variable in class net.spy.util.PwGen
Character set containing numeric and uppercase letters.
NUMBER_UPPER_LOWER - Static variable in class net.spy.util.PwGen
Character set containing numeric, upper, and lowercase letters.
numCopies() - Method in class net.spy.db.CachedResultSetStub
How many copies have been made of this result set?
numPools() - Method in class net.spy.pool.ObjectPool
Get a count of the number of object pools.

O

ObjectDump - Class in net.spy.util
Dump an object and all of its contents.
ObjectDump() - Constructor for class net.spy.util.ObjectDump
Get an instance of ObjectDump.
ObjectPool - Class in net.spy.pool
ObjectPool is the entry point for all object pooling facilities in net.spy.pool.*.
ObjectPool(SpyConfig) - Constructor for class net.spy.pool.ObjectPool
 
ObjectPoolConnectionSource - Class in net.spy.db
Connection source to retrieve connections from an ObjectPool.
ObjectPoolConnectionSource() - Constructor for class net.spy.db.ObjectPoolConnectionSource
Get an instance of SpyPoolConnectionSource.
OK - Static variable in class net.spy.net.SNPP
Response code inicating a successful transaction.
OPTIONAL - Static variable in class net.spy.db.DBSP.Parameter
Parameter type indicating this is an optional parameter.
orput(String, String) - Method in class net.spy.util.SpyConfig
Assign a value to the config only if it doesn't already exist.
OUTPUT - Static variable in class net.spy.db.DBSP.Parameter
Parameter type indicating this is an output parameter.
OverDrawnException - Exception in net.spy.db
Exception thrown from KeyStore when too many keys are requested.
OverDrawnException() - Constructor for exception net.spy.db.OverDrawnException
Get an instance of OverDrawnException.

P

pagerID(String) - Method in class net.spy.net.SNPP
sets the pager ID
performDelay() - Method in class net.spy.util.LoopingThread
Method to pause between loops.
PoolAble - Class in net.spy.pool
PoolAble is the object container that is used to store objects in the pool.
PoolAble(Object, int) - Constructor for class net.spy.pool.PoolAble
Get a PoolAble representation for an object.
PoolAble(Object, long, int) - Constructor for class net.spy.pool.PoolAble
Get a PoolAble representation for an object, including a given maximum lifetime the object can have.
PoolContainer - Class in net.spy.pool
PoolContainer is the storage for a given pool.
PoolContainer(String, PoolFiller, SpyConfig) - Constructor for class net.spy.pool.PoolContainer
Create a new PoolContainer for a pool with a given name, and filler.
PoolContainer(String, PoolFiller) - Constructor for class net.spy.pool.PoolContainer
Create a new PoolContainer for a pool with a given name, and filler.
PooledObject - Class in net.spy.pool
Pooled object return package.
PooledObject(PoolAble) - Constructor for class net.spy.pool.PooledObject
Get a new PooledObject containing the given PoolAble
PoolException - Exception in net.spy.pool
Exception thrown when there's a problem dealing with the pool.
PoolException(String) - Constructor for exception net.spy.pool.PoolException
Get a PoolException instance.
PoolException(String, Throwable) - Constructor for exception net.spy.pool.PoolException
Get a PoolException instance with a root cause.
PoolFiller - Class in net.spy.pool
The PoolFiller class is used to populate entries in a pool.
PoolFiller() - Constructor for class net.spy.pool.PoolFiller
Get an unitialized PoolFiller object.
PoolFiller(String, SpyConfig) - Constructor for class net.spy.pool.PoolFiller
Get a PoolFiller object.
preConstructors() - Method in class net.spy.util.InterfaceImplementor
Anything that should appear before the automatically generated constructors.
preConstructors() - Method in class net.spy.util.ProxyInterfaceImplementor
Create the instance variables and constructor for the proxy.
prefixHash(boolean) - Method in class net.spy.util.Digest
If set to true, hashes will be prefixed with the type of hash used.
preMethods() - Method in class net.spy.util.InterfaceImplementor
Anything that should appear before the automatically generated methods.
preMethods() - Method in class net.spy.util.ProxyInterfaceImplementor
Before the generated methods, include methods for accessing and setting the proxied object.
prepare() - Method in class net.spy.db.DBCP
Prepare the statement for execution.
prepare() - Method in class net.spy.db.DBSP
Ensures the statement is prepared for execution.
prepare() - Method in class net.spy.db.DBSQL
Prepare the SQL for execution.
prepareCall(String) - Method in class net.spy.db.SpyDB
Prepare a callable statement.
prepareStatement(String, long) - Method in class net.spy.db.SpyCacheDB
Prepare a statment for caching.
prepareStatement(String) - Method in class net.spy.db.SpyDB
Prepare a statement.
processChunk(String) - Method in class net.spy.log.LineGettingOutputStream
Deal with a chunk of data.
processChunk(String) - Method in class net.spy.log.LoggingOutputStream
Send the stuff to the logger.
processFile(String) - Method in class net.spy.ant.SPGenTask
 
ProgressStats - Class in net.spy.util
A simple class for keeping up with the progress of an operation.
ProgressStats(int) - Constructor for class net.spy.util.ProgressStats
Get an instance of ProgressStats to process the given number of things.
Promise - Class in net.spy.util
A promise, continuation style code for java.
Promise() - Constructor for class net.spy.util.Promise
Get an instance of Promise.
ProxyInterfaceImplementor - Class in net.spy.util
Create static proxy implementations of interfaces.
ProxyInterfaceImplementor(Class) - Constructor for class net.spy.util.ProxyInterfaceImplementor
Get an instance of ProxyInterfaceImplementor.
ProxyInterfaceImplementorTask - Class in net.spy.ant
Generate an interface wrapper proxy.
ProxyInterfaceImplementorTask() - Constructor for class net.spy.ant.ProxyInterfaceImplementorTask
Get an instance of ProxyInterfaceImplementorTask.
prune() - Method in class net.spy.pool.ObjectPool
Prune the object pools.
pruneStatus() - Method in class net.spy.pool.PoolAble
Find out if an object is prunable
put(Object, Object) - Method in class net.spy.cache.DiskCache
Store an object in the cache.
put(Object, Object) - Method in class net.spy.cache.LRUCache
Store an object in the cache.
put(Object, Object) - Method in class net.spy.util.TimeStampedHashMap
Put an object into the map.
PwGen - Class in net.spy.util
Password generator.
PwGen() - Constructor for class net.spy.util.PwGen
 

Q

QuerySelector - Interface in net.spy.db
Select the most appropriate query for the given DBSQL instance.
QuerySelectorFactory - Class in net.spy.db
Factory for finding a QuerySelector instance.
QuerySelectorFactory() - Constructor for class net.spy.db.QuerySelectorFactory
 
QuickRun - Class in net.spy.util
Listens on a socket and lets you run stuff without firing up a new JVM.
QuickRun(Socket) - Constructor for class net.spy.util.QuickRun
 
QuickRun(int) - Constructor for class net.spy.util.QuickRun
 
QUIT_ACK - Static variable in class net.spy.net.SNPP
Response code to acknowldege a quit command.

R

Range - Class in net.spy.util
A range of Comparable objects.
Range(Comparable, Comparable) - Constructor for class net.spy.util.Range
Get an instance of Range.
read() - Method in class net.spy.util.Base64InputStream
Get the next decoded byte in this stream.
read(byte[], int, int) - Method in class net.spy.util.ByteConverionInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
read() - Method in class net.spy.util.UUInputStream
 
recache() - Method in class net.spy.factory.GenFactory
Reset the cache for this factory.
redefineOutputs() - Static method in class net.spy.log.LoggingOutputStream
Redefine stdout and stderr using new logging streams.
ReferenceSet - Class in net.spy.util
This class aids in implementing sets of references.
ReferenceSet() - Constructor for class net.spy.util.ReferenceSet
Get an instance of ReferenceSet.
ReferenceSet(int) - Constructor for class net.spy.util.ReferenceSet
Create a ReferenceSet with the given capacity.
ReferenceSet(Collection) - Constructor for class net.spy.util.ReferenceSet
Get a ReferenceSet with the contents from the given Collection.
registerNameMapping(String, String) - Method in class net.spy.db.DatabaseMetaDataQuerySelector
Register a prefix -> name mapping.
registerQuery(String, String, File) - Method in class net.spy.db.FileDriver
Register a query to file mapping.
registerQuery(String, String, Object[], File) - Method in class net.spy.db.FileDriver
Register a ResultSet File to a parameterized query.
registerQuery(String, DBSQL, Object[], File) - Method in class net.spy.db.FileDriver
Register the query(-ies) from the given DBSQL and args to a file.
registerUpdate(String, String, Object[], FileDriver.Updater) - Method in class net.spy.db.FileDriver
Register an update action.
registerUpdate(String, DBSQL, Object[], FileDriver.Updater) - Method in class net.spy.db.FileDriver
Register the update(s) from the given DBSQL and args to an updater.
registerUpdate(String, DBSQL, Object[], int) - Method in class net.spy.db.FileDriver
Register the update(s) from the given DBSQL and args to return an int.
registerUpdate(String, String, Object[], int) - Method in class net.spy.db.FileDriver
Register a simple update that returns an int.
remove() - Method in class net.spy.util.Enumeriterator
NOT IMPLEMENTED.
remove(Object) - Method in class net.spy.util.WeakHashSet
Remove the given object from this Set.
removeBits(int, int) - Method in class net.spy.util.BitArray
Remove a specific number of bits from a specific location.
removeLSBBits(int) - Method in class net.spy.util.BitArray
Remove a give number of bits from the LSB side.
removeMSBBits(int) - Method in class net.spy.util.BitArray
Remove a give number of bits from the MSB side.
reportDuplicate(String, String, Object) - Method in class net.spy.util.ObjectDump
Report a duplicate object at the given path.
reportExamining(String, Object) - Method in class net.spy.util.ObjectDump
Report that the given object is being examined.
reportException(String, Object, Exception) - Method in class net.spy.util.ObjectDump
Report an exception traversing an object.
reportNull(String) - Method in class net.spy.util.ObjectDump
Report a path's value is null.
reportPrimitive(String, Object) - Method in class net.spy.util.ObjectDump
Report a primitive was found.
reportWithFormat(String) - Method in class net.spy.util.TTL
Report a TTL expiration with the given format.
requestStop() - Method in class net.spy.util.LoopingThread
Request the looping should end.
REQUIRED - Static variable in class net.spy.db.DBSP.Parameter
Parameter type indicating this is a required parameter.
reset() - Method in class net.spy.util.TTL
Resets the counter by setting the time that the TTL started to right now.
resetArgs() - Method in class net.spy.db.DBSP
Reset all arguments.
resetResults() - Method in class net.spy.db.GenericResultSetStub
Reset the results to the beginning.
RESPONSE - Static variable in class net.spy.net.SNPP
Response code indicating a response to a message is available.
returnConnection(Connection) - Method in interface net.spy.db.ConnectionSource
Return a connection.
returnConnection(Connection) - Method in class net.spy.db.JDBCConnectionSource
 
returnConnection(Connection) - Method in class net.spy.db.JNDIConnectionSource
 
returnConnection(Connection) - Method in class net.spy.db.ObjectPoolConnectionSource
 
RingBuffer - Class in net.spy.util
A circular buffer.
RingBuffer(int) - Constructor for class net.spy.util.RingBuffer
Get an instance of RingBuffer.
RingBuffer(int, Collection) - Constructor for class net.spy.util.RingBuffer
Get a RingBuffer at a particular size filled from the given Collection.
rmDashR(File) - Static method in class net.spy.util.SpyUtil
Recursively remove a path.
run() - Method in class net.spy.cache.CacheClearRequestListener
Run.
run() - Method in class net.spy.cron.Cron
Do the run thing.
run() - Method in class net.spy.cron.Job
Mark started, call runJob, then mark finished.
run() - Method in class net.spy.util.LoopingThread
The run loop itself.
run() - Method in class net.spy.util.QuickRun
 
run(Runnable) - Method in interface net.spy.util.RunnableRunner
Run the supplied Runnable.
run() - Method in class net.spy.util.SpyRunner
 
run() - Method in class net.spy.util.TTL
Request a report of the TTL.
runClass(String, String[]) - Static method in class net.spy.util.SpyUtil
Class invoker (runs main(String[]) from a String array.
runClass(ClassLoader, String, String[]) - Static method in class net.spy.util.SpyUtil
Class invoker (runs main(String[]) from a String array.
runJob() - Method in class net.spy.cron.Job
Subclasses of Job should extend this method to implement their running.
runJob() - Method in class net.spy.cron.MainJob
What to do when it's time to run.
runJob() - Method in class net.spy.net.URLItem
Ask the URL to update itself if it needs to.
runLoop() - Method in class net.spy.util.LoopingThread
This is the stuff that should happen during each execution of the run loop.
runLoop() - Method in class net.spy.util.ThreadPoolManager
Check to see if we should start up or shut down any threads.
RunnableRunner - Interface in net.spy.util
Interface for objects that run runnables.
runScript(InputStream) - Method in class net.spy.db.SQLRunner
Run the given script as a transaction.
runScript(InputStream, boolean, boolean) - Method in class net.spy.db.SQLRunner
Run the given script.

S

Savable - Interface in net.spy.db
Interface for transactionally savable objects.
SavableHashMap - Class in net.spy.db.savables
A subclass of HashMap that implements Savable.
SavableHashMap() - Constructor for class net.spy.db.savables.SavableHashMap
Get an instance of SavableHashMap.
SavableHashMap(Map) - Constructor for class net.spy.db.savables.SavableHashMap
Get an instance of SavableHashMap populated with the given Map of objects.
SavableHashMap(int) - Constructor for class net.spy.db.savables.SavableHashMap
Get an instance of SavableHashMap with the given initial capacity.
SavableHashMap(int, float) - Constructor for class net.spy.db.savables.SavableHashMap
Get an instance of SavableHashMap with the given initial capacity and load factors.
SavableHashSet - Class in net.spy.db.savables
A subclass of HashSet that implements Savable.
SavableHashSet() - Constructor for class net.spy.db.savables.SavableHashSet
Get an instance of SavableHashSet.
SavableHashSet(Collection) - Constructor for class net.spy.db.savables.SavableHashSet
Get an instance of SavableHashSet populated with the given Collection of objects.
SavableHashSet(int) - Constructor for class net.spy.db.savables.SavableHashSet
Get an instance of SavableHashSet with the given initial capacity.
SavableHashSet(int, float) - Constructor for class net.spy.db.savables.SavableHashSet
Get an instance of SavableHashSet with the given initial capacity and load factors.
save(Connection, SaveContext) - Method in interface net.spy.db.Savable
Save this object's state over the given connection.
save(Connection, SaveContext) - Method in class net.spy.db.savables.CollectionSavable
NOOP.
save(Connection, SaveContext) - Method in class net.spy.db.savables.SavableHashMap
Do nothing.
save(Connection, SaveContext) - Method in class net.spy.db.savables.SavableHashSet
Do nothing.
save(Savable) - Method in class net.spy.db.Saver
Save this Savabale and everything it contains at the default isolation level.
save(Savable, int) - Method in class net.spy.db.Saver
Save this Savabale and everything it contains at the default isolation level.
SaveContext - Class in net.spy.db
Context shared by all Savables inside a Saver.
SaveContext() - Constructor for class net.spy.db.SaveContext
Get an instance of SaveContext.
SaveException - Exception in net.spy.db
Exception thrown when a Saver save fails.
SaveException(String) - Constructor for exception net.spy.db.SaveException
Get an instance of SaveException with a message.
SaveException(String, Throwable) - Constructor for exception net.spy.db.SaveException
Get an instance of SaveException with a message and a root cause.
Saver - Class in net.spy.db
Transactional object saver.
Saver(SpyConfig) - Constructor for class net.spy.db.Saver
Get an instance of Saver with the given database config.
Saver(SpyConfig, SaveContext) - Constructor for class net.spy.db.Saver
Get an instance of saver with the given database config and context.
send() - Method in class net.spy.net.SNPP
send is handled separately in case it's a two-way transaction.
sendpage(String, String) - Method in class net.spy.net.SNPP
Send a simple page.
set(String, BigDecimal) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type java.math.BigDecimal
set(String, boolean) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type boolean
set(String, Boolean) - Method in class net.spy.db.DBSP
Set field which to the value of b.
set(String, Date) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type java.sql.Date
set(String, double) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type double
set(String, float) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type float
set(String, Float) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type float
set(String, Integer) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type java.lang.Integer
set(String, int) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type int
set(String, long) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type long
set(String, byte) - Method in class net.spy.db.DBSP
Set a parameter to the tinyint value b of the type byte.
set(String, Byte) - Method in class net.spy.db.DBSP
Set a parameter to a tinyint value.
set(String, short) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type short
set(String, Short) - Method in class net.spy.db.DBSP
Set the field which to the value s of the type short.
set(String, String) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type java.lang.String
set(String, Time) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type Time
set(String, Timestamp) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type Timestamp
set(String, Object) - Method in class net.spy.db.DBSP
 
setAccessTime(long) - Method in class net.spy.cache.AbstractCachable
Mark a new access.
setAccessTime(long) - Method in interface net.spy.cache.Cachable
Set the timestamp of a particular access.
setArg(String, Object, int) - Method in class net.spy.db.DBSP
Set the named argument to the value contained in the given object for the given type.
setAvailable() - Method in class net.spy.pool.PoolAble
Mark this object as available.
setBigDecimal(int, BigDecimal) - Method in class net.spy.db.GenericPreparedStatementStub
 
setBoolean(int, boolean) - Method in class net.spy.db.GenericPreparedStatementStub
 
setBuildprops(String) - Method in class net.spy.ant.BuildInfoTask
Set the path to the build properties.
setCacheTime(long) - Method in class net.spy.db.DBSP
Set the number of seconds the results of this SP will be valid.
setCacheTime(long) - Method in interface net.spy.db.DBSPLike
Set the cache time for this cachable query.
setChangelog(String) - Method in class net.spy.ant.BuildInfoTask
Set the path to the change log.
setCoerced(String, String) - Method in class net.spy.db.DBSP
Set a field in the DBSP after coercing the String value to the required value for the given field.
setConfig(SpyConfig) - Method in class net.spy.pool.PoolFiller
Set the config file to use.
setCursorName(String) - Method in class net.spy.db.DBSP
Set the cursor name to be handed to the underlying Statement.
setDate(int, Date) - Method in class net.spy.db.GenericPreparedStatementStub
 
setDbcpSuperclass(String) - Method in class net.spy.ant.SPGenTask
Set the DBCP superclass for the generated class.
setDbcpSuperclass(String) - Method in class net.spy.util.SPGen
Set the DBCP superclass of the generated java class.
setDbspSuperclass(String) - Method in class net.spy.ant.SPGenTask
Set the DBSP superclass for the generated class.
setDbspSuperclass(String) - Method in class net.spy.util.SPGen
Set the DBSP superclass of the generated java class.
setDebug(boolean) - Method in class net.spy.db.DBSP
Set the value of debug for this instance.
setDelegate(CacheDelegate) - Method in class net.spy.cache.SpyCache
Set the delegate for this SpyCache.
setDestdir(String) - Method in class net.spy.ant.BuildInfoTask
Set the destination directory (top level generated code directory).
setDestdir(File) - Method in class net.spy.ant.SPGenTask
Sets the destination directory to place .java files.
setDouble(int, double) - Method in class net.spy.db.GenericPreparedStatementStub
 
setErr() - Method in class net.spy.log.LineGettingOutputStream
Redefine stderr to send messages via this thing.
setExtraInfo(Object) - Method in class net.spy.util.TTL
Provide extra information for the TTL report.
setField(int) - Method in class net.spy.cron.TimeIncrement
Set Calendar field to increment.
setFloat(int, float) - Method in class net.spy.db.GenericPreparedStatementStub
 
setHighMatch(int) - Method in class net.spy.util.Range
Set the high match type.
setIfModifiedSince(long) - Method in class net.spy.net.HTTPFetch
Set the ifModifiedSince value for the request.
setIncrement(int) - Method in class net.spy.cron.TimeIncrement
Set the increment amount.
setInstance(GetPK) - Static method in class net.spy.db.GetPK
Set the singleton instance.
setInt(int, int) - Method in class net.spy.db.GenericPreparedStatementStub
 
setInterfaceName(String) - Method in class net.spy.ant.InterfaceImplementorTask
 
setInterfaces(String) - Method in class net.spy.ant.SPGenTask
Add a space separated set of interfaces to have generated classes implement.
setLimit(int) - Method in class net.spy.util.LimitedList
Dynamically reset the limit.
setLong(int, long) - Method in class net.spy.db.GenericPreparedStatementStub
 
setLowMatch(int) - Method in class net.spy.util.Range
Set the low match type.
setMaxAge(long) - Method in class net.spy.pool.PoolAble
Set the maximum age of this PoolAble.
setMaxIdleTime(long) - Method in class net.spy.cron.Cron
Set the maximum amount of time the cron thread will continue running with no jobs.
setMaxIdleTime(int) - Method in class net.spy.net.URLItem
Set the maximum number of milliseconds this URL will remain in the container if nothing requests it.
setMaxReports(int) - Method in class net.spy.util.TTL
Set the maximum number of reports this TTL should issue before automatically closing.
setMaxRows(int) - Method in class net.spy.db.CachePreparedStatementStub
Set the max rows for the query return.
setMaxRows(int) - Method in class net.spy.db.DBSP
Set the maximum number of rows that should be returned from this query.
setMaxTaskQueueSize(int) - Method in class net.spy.util.ThreadPool
Set the maximum size of the job queue.
setMaxTotalThreads(int) - Method in class net.spy.util.ThreadPool
Set the maximum number of threads that may be in this pool.
setMetaData(ResultSetMetaData) - Method in class net.spy.db.GenericResultSetStub
Set the ResultSetMetaData used for this ResultSet.
setMinIdleThreads(int) - Method in class net.spy.util.ThreadPool
Set the minimum number of idle threads to maintain.
setMinTotalThreads(int) - Method in class net.spy.util.ThreadPool
Set the minimum number of threads that may exist in the thread pool at any moment.
setModified(boolean) - Method in class net.spy.db.AbstractSavable
Set the ``modified'' flag for this object.
setMonitor(ThreadPoolObserver) - Method in class net.spy.util.ThreadPool
Set the observer who will receive notification whenever a task is completed.
setMsPerLoop(int) - Method in class net.spy.util.LoopingThread
Set the number of milliseconds to sleep during each loop.
setName(String) - Method in class net.spy.cron.Job
Set the name of this thing.
setName(String) - Method in class net.spy.pool.PoolFiller
Set the name to be used for config lookups.
setNew(boolean) - Method in class net.spy.db.AbstractSavable
Set the ``new'' flag for this object.
setNull(String, int) - Method in class net.spy.db.DBSP
Set field which to a null of the given type.
setNull(int, int) - Method in class net.spy.db.GenericPreparedStatementStub
 
setObject(int, Object) - Method in class net.spy.db.GenericPreparedStatementStub
 
setObjectID(int) - Method in class net.spy.pool.PoolAble
Set the internal object ID.
setOptional(String, int) - Method in class net.spy.db.DBCP
Optional parameters are not currently supported for DBCP objects.
setOptional(String, int) - Method in class net.spy.db.DBSP
Define a field to be optional.
setOut() - Method in class net.spy.log.LineGettingOutputStream
Redefine stdout to send messages via this thing.
setOutClass(String) - Method in class net.spy.ant.InterfaceImplementorTask
 
setOutDir(String) - Method in class net.spy.ant.InterfaceImplementorTask
 
setOutput(String, int) - Method in class net.spy.db.DBSP
Define a field to be output.
setOutputClass(String) - Method in class net.spy.util.InterfaceImplementor
Set the name of the output class.
setPackage(String) - Method in class net.spy.ant.BuildInfoTask
Set the name of the package that will have the buildinfo file.
setPoolHash(int) - Method in class net.spy.pool.PoolFiller
Set the hash to use for debug data.
setPoolManagerClass(Class) - Method in class net.spy.util.ThreadPool
Set the PoolManager class.
setPoolName(String) - Method in class net.spy.pool.PoolAble
Set the pool name this thing sits in.
setPreparedStatement(PreparedStatement) - Method in class net.spy.db.DBSP
Set the prepared statement on which this DBSP will operate.
setPriority(int) - Method in class net.spy.util.ThreadPool
Set the priority to be used for any new threads within this threaad group.
setQuery(String) - Method in class net.spy.db.DBSP
Set the SQL query to call
setQueryTimeout(int) - Method in class net.spy.db.CachePreparedStatementStub
Set the query timeout.
setQueryTimeout(int) - Method in class net.spy.db.DBSP
Set the timeout for this query.
setQueryTimeout(int) - Method in interface net.spy.db.DBSPLike
Set the timeout for this query.
setRegisteredQueryMap(Map) - Method in class net.spy.db.DBSQL
Set the Map of registered queries.
setReportInterval(int) - Method in class net.spy.util.TTL
Set the minimum interval at which doReport() should be called when TTLMonitor sees this object as expired.
setRequired(String, int) - Method in class net.spy.db.DBSP
Define a field to be required.
setResults(List) - Method in class net.spy.db.GenericResultSetStub
Set the results for this ResultSet to use.
setSaved() - Method in class net.spy.db.AbstractSavable
Unset the flags indicating that this object needs to be saved.
setShort(int, short) - Method in class net.spy.db.GenericPreparedStatementStub
 
setSPName(String) - Method in class net.spy.db.DBSP
Set the stored procedure to the given value.
setSrcdir(File) - Method in class net.spy.ant.SPGenTask
Sets the source directory to search for .spt files.
setStartThreads(int) - Method in class net.spy.util.ThreadPool
Set the number of threads to start when bringing up this pool.
setStartTime(Date) - Method in class net.spy.cron.Job
Set the next time the job is due to start.
setString(int, String) - Method in class net.spy.db.GenericPreparedStatementStub
 
setSuperClass(String) - Method in class net.spy.ant.InterfaceImplementorTask
 
setSuperclass(String) - Method in class net.spy.ant.SPGenTask
Set the superclass for the generated class.
setSuperClass(Class) - Method in class net.spy.util.InterfaceImplementor
Set an optional superclass that defines some of the methods for the implementation.
setSuperclass(String) - Method in class net.spy.util.SPGen
Set the superclass of the generated java class.
setTasks(LinkedList) - Method in class net.spy.util.ThreadPool
Set the LinkedList to contain the tasks on which this ThreadPool will be listening.
setThreadPool(ThreadPool) - Method in class net.spy.util.ThreadPoolManager
Set the ThreadPool to watch.
setTime(int, Time) - Method in class net.spy.db.GenericPreparedStatementStub
 
setTimeout(int) - Method in class net.spy.db.SQLRunner
Set the query timeout (in seconds).
setTimestamp(int, Timestamp) - Method in class net.spy.db.GenericPreparedStatementStub
Set a timetamp value.
setTinyInt(String, short) - Method in class net.spy.db.DBSP
Set field which to the value a1 of the type short
setUnavailable() - Method in class net.spy.pool.PoolAble
Mark this object as unavailable.
setVerbose(boolean) - Method in class net.spy.ant.SPGenTask
True if we want verbose transformations.
setVerbose(boolean) - Method in class net.spy.util.SPGen
Set the verbosity flag.
ShortestPath - Class in net.spy.util
Represents the shortest path between two SPNodes.
ShortestPath(SPNode, SPNode) - Constructor for class net.spy.util.ShortestPath
Get an instance of ShortestPath.
ShortestPathFinder - Class in net.spy.util
This is a utility class for finding the least costly paths from each node from a collection to all nodes to which they link.
ShortestPathFinder() - Constructor for class net.spy.util.ShortestPathFinder
Get an instance of ShortestPathFinder.
shuffle(Object[]) - Static method in class net.spy.util.SpyUtil
Shuffle (unsort) an array.
shutdown() - Method in class net.spy.cron.Cron
Shut down the queue.
shutdown() - Method in class net.spy.db.TransactionPipeline
Shut down the pipeline.
shutdown() - Method in class net.spy.net.URLWatcher
Instruct the URLWatcher to stop URLWatching.
shutdown() - Method in class net.spy.util.ThreadPool
Tell all the threads to shut down after they finish their current tasks.
shutdown() - Method in class net.spy.util.TTLMonitor
Shutdown the monitor.
SimpleTimeIncrement - Class in net.spy.cron
A simple time increment implemenation.
SimpleTimeIncrement(int) - Constructor for class net.spy.cron.SimpleTimeIncrement
Get an instance of SimpleTimeIncrement.
SINGLELINE_HELP - Static variable in class net.spy.net.SNPP
Response code indicating single line help.
size() - Method in class net.spy.util.BitArray
Get the number of bits remaining in the bit set.
size() - Method in class net.spy.util.ReferenceSet
Get the current size of the Set.
size() - Method in class net.spy.util.RingBuffer
Get the number of objects in this RingBuffer.
size() - Method in class net.spy.util.WeakHashSet
Get the number of keys currently contained in this Set.
SNPP - Class in net.spy.net
SNPP client.
SNPP(String, int, int) - Constructor for class net.spy.net.SNPP
Get a new SNPP object connected to host:port
SNPP(String, int) - Constructor for class net.spy.net.SNPP
Get a new SNPP object connected to host:port
SNPP_PORT - Static variable in class net.spy.net.SNPP
SNPP default port.
SNPPPoolAble - Class in net.spy.pool
PoolAble object for containing a SNPP object.
SNPPPoolAble(Object, int) - Constructor for class net.spy.pool.SNPPPoolAble
Get an instance of SNPPPoolAble.
SNPPPoolAble(Object, long, int) - Constructor for class net.spy.pool.SNPPPoolAble
Get an instance of SNPPPoolAble.
SNPPPoolFiller - Class in net.spy.pool
PoolFiller object to fill a pool with SNPP PoolAbles
SNPPPoolFiller(String, SpyConfig) - Constructor for class net.spy.pool.SNPPPoolFiller
 
SoftHashSet - Class in net.spy.util
Implementation of ReferenceSet that uses soft references.
SoftHashSet() - Constructor for class net.spy.util.SoftHashSet
Get an instance of SoftHashSet.
SoftHashSet(int) - Constructor for class net.spy.util.SoftHashSet
Create a SoftHashSet with the given capacity.
SoftHashSet(Collection) - Constructor for class net.spy.util.SoftHashSet
Get a SoftHashSet with the contents from the given Collection.
SPGen - Class in net.spy.util
Generator for .spt->.java.
SPGen(String, BufferedReader, PrintWriter) - Constructor for class net.spy.util.SPGen
Get a new SPGen from the given BufferedReader.
SPGenTask - Class in net.spy.ant
Generates Java code from SPT files.
SPGenTask() - Constructor for class net.spy.ant.SPGenTask
 
split(String, String) - Static method in class net.spy.util.SpyUtil
Split a string based on a tokenizer.
SPNode - Interface in net.spy.util
A Node for a shortest path graph.
SPVertex - Class in net.spy.util
A weighted connection to a SPNode.
SPVertex(SPNode, int) - Constructor for class net.spy.util.SPVertex
Get an instance of SPVertex.
SPVertex(SPNode) - Constructor for class net.spy.util.SPVertex
Get an instance of SPVertex linking the two nodes with the default cost.
SpyCache - Class in net.spy.cache
Spy in-memory cache object.
SpyCache() - Constructor for class net.spy.cache.SpyCache
Construct a new instance of SpyCache.
SpyCacheDB - Class in net.spy.db
Extensions to DB that allow for result set caching.
SpyCacheDB(SpyConfig) - Constructor for class net.spy.db.SpyCacheDB
Get a SpyCacheDB object as specified in the passed in config file.
SpyCacheDB(Connection) - Constructor for class net.spy.db.SpyCacheDB
Get a SpyCacheDB object that will use the given Connection object for any needed queries.
SpyConfig - Class in net.spy.util
SpyConfig - an abstracted config file maintainer.
SpyConfig(File) - Constructor for class net.spy.util.SpyConfig
Construct a new SpyConfig object describing a config file.
SpyConfig() - Constructor for class net.spy.util.SpyConfig
Construct a new SpyConfig object without a config file.
SpyDB - Class in net.spy.db
SpyDB is an abstraction of both net.spy.pool and java.sql.
SpyDB(SpyConfig) - Constructor for class net.spy.db.SpyDB
Create a SpyDB object based on the description found in the passed in SpyConfig object.
SpyDB(Connection) - Constructor for class net.spy.db.SpyDB
Get a SpyDB object wrapping the given connection.
SpyObject - Class in net.spy
Superclass for all Spy Objects.
SpyObject() - Constructor for class net.spy.SpyObject
Get an instance of SpyObject.
SpyRunner - Class in net.spy.util
SpyRunner - a hack-ass application server.
SpyRunner(ThreadGroup, String, String[]) - Constructor for class net.spy.util.SpyRunner
 
SpyThread - Class in net.spy
Superclass for all Spy Threads.
SpyThread() - Constructor for class net.spy.SpyThread
Get an instance of SpyThread.
SpyThread(String) - Constructor for class net.spy.SpyThread
Get an instance of SpyThread with a name.
SpyThread(ThreadGroup, String) - Constructor for class net.spy.SpyThread
Get an instance of SpyThread with a name.
SpyToker - Class in net.spy.util
A simple token in-plugger.
SpyToker() - Constructor for class net.spy.util.SpyToker
Construct a SpyToker.
SpyUtil - Class in net.spy.util
Miscellaneous utilities.
SQLRunner - Class in net.spy.db
Run a SQL script from an InputStream.
SQLRunner(Connection) - Constructor for class net.spy.db.SQLRunner
Get an instance of SQLRunner.
start() - Method in class net.spy.util.ProgressStats
Mark us having started processing something.
start() - Method in class net.spy.util.ThreadPool
Start the ThreadPool.
start() - Method in class net.spy.util.ThreadPoolManager
Initialize this ThreadPoolManager.
startWatching(URLItem) - Method in class net.spy.net.URLWatcher
Start watching the given URL.
stop() - Method in class net.spy.util.ProgressStats
Mark this iteration as complete.
stopRunning() - Method in class net.spy.cache.CacheClearRequestListener
Tell the thing to stop running.
stopRunning() - Method in class net.spy.cron.Job
Stop this job from running.
store(String, Cachable) - Method in class net.spy.cache.SpyCache
Store a Cachable object in the cache.
store(String, Object, long) - Method in class net.spy.cache.SpyCache
Store an object in the cache with the specified timeout.
SunLogger - Class in net.spy.log
Logging implementation using the sun logger.
SunLogger(String) - Constructor for class net.spy.log.SunLogger
Get an instance of SunLogger.
Syslog - Class in net.spy.log
Send a message via syslog.
Syslog(String) - Constructor for class net.spy.log.Syslog
Log to a particular log host.
SYSLOG - Static variable in class net.spy.log.Syslog
 
SYSTEM_FAILURE - Static variable in class net.spy.net.SNPP
Response code indicating a command failed (system problem).

T

ThreadPool - Class in net.spy.util
A producer/consumer thread pool for easy parallelism.
ThreadPool(String, int, int) - Constructor for class net.spy.util.ThreadPool
Get an instance of ThreadPool.
ThreadPool(String, int) - Constructor for class net.spy.util.ThreadPool
Get an instance of ThreadPool with a normal priority.
ThreadPool(String) - Constructor for class net.spy.util.ThreadPool
Get an instance of ThreadPool with five threads and a normal priority.
ThreadPoolManager - Class in net.spy.util
Management thread for managing a ThreadPool.
ThreadPoolManager(ThreadGroup) - Constructor for class net.spy.util.ThreadPoolManager
Get an instance of ThreadPoolManager.
ThreadPoolObserver - Class in net.spy.util
Receive notification of job completion.
ThreadPoolObserver() - Constructor for class net.spy.util.ThreadPoolObserver
Get an instance of ThreadPoolObserver.
ThreadPoolRunnable - Interface in net.spy.util
Interface that flags a class as having overridden toString() for debug display in a thread list.
TimedSocket - Class in net.spy.net
Because java doesn't have the ability to timeout on a connection, this does.
TimeIncrement - Class in net.spy.cron
This object defines how a recurring job should increment itself.
TimeIncrement() - Constructor for class net.spy.cron.TimeIncrement
Get a new TimeIncrement object.
TimeIncrement(Calendar) - Constructor for class net.spy.cron.TimeIncrement
Get a new TimeIncrement object using a specific Calendar.
TimeSpan - Class in net.spy.util
Creates a representable timespan.
TimeSpan(Date, Date) - Constructor for class net.spy.util.TimeSpan
Get an instance of TimeSpan representing the span between the given from and to dates.
TimeStampedHashMap - Class in net.spy.util
A HashMap that remembers when it was accessed.
TimeStampedHashMap() - Constructor for class net.spy.util.TimeStampedHashMap
Get an instance of TimeStampedHashMap.
tokenize(File, Map) - Method in class net.spy.util.SpyToker
Tokenize a file.
tokenizeString(String, Map) - Method in class net.spy.util.SpyToker
Tokenize a String, return the tokenized results.
toString() - Method in class net.spy.cache.CacheClearRequestListener
String me.
toString() - Method in class net.spy.cron.Cron
String me.
toString() - Method in class net.spy.cron.Job
Get a string representation of this Job.
toString() - Method in class net.spy.cron.TimeIncrement
String me.
toString() - Method in class net.spy.db.DBNull
String me.
toString() - Method in class net.spy.db.DBSP.Argument
 
toString() - Method in class net.spy.db.DBSP.NamedObject
String me.
toString() - Method in class net.spy.db.DBSP.Parameter
 
toString() - Method in class net.spy.db.DBTTL
String me.
toString() - Method in class net.spy.db.GenericResultSetStub
Debug routine for displaying the current row of the ResultSet.
toString() - Method in class net.spy.db.KeyStore
String me.
toString() - Method in class net.spy.log.Level
Get a string representation of this level.
toString() - Method in class net.spy.net.URLWatcher
String me.
toString() - Method in class net.spy.pool.ObjectPool
Dump out the object pools.
toString() - Method in class net.spy.pool.PoolAble
Return a string representation of this object.
toString() - Method in class net.spy.pool.PoolContainer
debugging tool, dump out the current state of the pool
toString() - Method in class net.spy.util.BitArray
String me.
toString() - Method in class net.spy.util.ProgressStats
String me.
toString() - Method in class net.spy.util.Promise
Print me.
toString() - Method in class net.spy.util.Range
Describe this object in Set notation.
toString() - Method in class net.spy.util.RingBuffer
String me.
toString() - Method in class net.spy.util.SPVertex
String me.
toString() - Method in class net.spy.util.ThreadPool
String me.
toString() - Method in interface net.spy.util.ThreadPoolRunnable
Subclasses must override toString() to produce an informative debug string.
toString() - Method in class net.spy.util.TimeSpan
Print out the timespan.
toString() - Method in class net.spy.util.TTL
String me.
ToStringComparator - Class in net.spy.util
A Comparator that compares the String representation of objects.
ToStringComparator() - Constructor for class net.spy.util.ToStringComparator
Get an instance of ToStringComparator sorting nulls last.
ToStringComparator(int) - Constructor for class net.spy.util.ToStringComparator
Get a ToStringComparator with the provided null order.
totalObjects() - Method in class net.spy.pool.PoolContainer
Find out how many objects are in this pool.
transactionCommited() - Method in interface net.spy.db.TransactionListener
Method called when the transaction is over.
TransactionListener - Interface in net.spy.db
Interface for objects that want to be notified when they're at the end of their transaction.
TransactionPipeline - Class in net.spy.db
Asynchronous Saver.
TransactionPipeline() - Constructor for class net.spy.db.TransactionPipeline
Get an instance of TransactionPipeline.
TTL - Class in net.spy.util
A TTL object is used to express an intent for a process to finish within a certain amount of time.
TTL(long) - Constructor for class net.spy.util.TTL
Get an instance of TTL.
TTL(long, Object) - Constructor for class net.spy.util.TTL
Get an instance of TTL with the given ttl and extra object.
TTLMonitor - Class in net.spy.util
Monitor TTLs.
twoWay() - Method in class net.spy.net.SNPP
Put this into 2way mode.
TypeNameGen - Class in net.spy.util
Used at compile time to generate TypeNames.
TypeNameGen() - Constructor for class net.spy.util.TypeNameGen
Get the TypeNameGen instance.

U

uncache(String) - Method in class net.spy.cache.SpyCache
Manually remove an object from the cache.
uncachedEvent(Object) - Method in class net.spy.cache.AbstractCachable
Override uncachedEvent to also send the message to the cached object if it wants it.
uncachedEvent(Object) - Method in class net.spy.cache.AbstractCacheListener
Receive notification of having been uncached.
uncachedEvent(Object) - Method in interface net.spy.cache.CacheListener
Called whenever an object is removed from a cache.
uncachedObject(String, Cachable) - Method in interface net.spy.cache.CacheDelegate
Called whenever an object is removed from the cache.
uncacheLike(String) - Method in class net.spy.cache.SpyCache
Remove all objects from the cache that begin with the passed in string.
URL_PREFIX - Static variable in class net.spy.db.FileDriver
 
URLItem - Class in net.spy.net
A particular URL that's being watched.
URLItem(URL) - Constructor for class net.spy.net.URLItem
Get a new URLItem at the default interval.
URLItem(URL, TimeIncrement) - Constructor for class net.spy.net.URLItem
Get a new URLItem with the given interval.
URLItem(URL, Date, TimeIncrement) - Constructor for class net.spy.net.URLItem
Get an instance of URLItem.
URLWatcher - Class in net.spy.net
URLWatcher watches URLs and provides access to the most recent data from the URL.
USER - Static variable in class net.spy.log.Syslog
 
UUCP - Static variable in class net.spy.log.Syslog
 
UUInputStream - Class in net.spy.util
This class decodes uuencoded files.
UUInputStream(InputStream) - Constructor for class net.spy.util.UUInputStream
Get a UUInputStream decoding the given InputStream.

W

waitForCompletion() - Method in class net.spy.util.ThreadPool
Shut down all of the threads after all jobs are complete, and wait for all tasks to complete.
waitForTaskCount(int) - Method in class net.spy.util.ThreadPool
Wait until there are no more than num tasks in the queue.
waitForThreads() - Method in class net.spy.util.ThreadPool
Wait until there are no more threads processing.
warn(Object, Throwable) - Method in class net.spy.log.AbstractLogger
Log a message at warning level.
warn(Object) - Method in class net.spy.log.AbstractLogger
Log a message at warning level.
WARN - Static variable in class net.spy.log.Level
Warning level.
warn(Object, Throwable) - Method in interface net.spy.log.Logger
Log a message at warning level.
warn(Object) - Method in interface net.spy.log.Logger
Log a message at warning level.
WARNING - Static variable in class net.spy.log.Syslog
 
wasNull() - Method in class net.spy.db.GenericResultSetStub
Check to see if the last column fetched was null.
WeakHashSet - Class in net.spy.util
HashSet backed by a WeakHashMap.
WeakHashSet() - Constructor for class net.spy.util.WeakHashSet
Get an instance of WeakHashSet.
WeakHashSet(int) - Constructor for class net.spy.util.WeakHashSet
Create a WeakHashSet with the given capacity.
WeakHashSet(Collection) - Constructor for class net.spy.util.WeakHashSet
Get a WeakHashSet with the contents from the given Collection.
write(int) - Method in class net.spy.log.LineGettingOutputStream
Write a byte.
write(byte[], int, int) - Method in class net.spy.log.LineGettingOutputStream
Do the actual writing.
write(byte[], int, int) - Method in class net.spy.util.Base64OutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte) - Method in class net.spy.util.Base64OutputStream
Write the given byte to the underlying OutputStream.
writeSourceToFile(String) - Method in class net.spy.util.InterfaceImplementor
Write this implementation out to a given file.
writeTo(PrintStream) - Method in class net.spy.util.TypeNameGen
Write the TypeNames class to the given PrintStream.

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

Copyright © 1995-2005 SPY Internetworking. All Rights Reserved.