Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
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
<
T
extends
SPNode
<
T
>> - Class in
net.spy.util
Abstract implementation of SPNode to make implementation a bit easier.
AbstractSPNode(SortedSet<SPVertex<T>>)
- 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(double)
- Method in class net.spy.stat.
ComputingStat
Add the given value to the current stat.
add(boolean)
- Method in class net.spy.util.
BitArray
Add a bit.
add(T)
- Method in class net.spy.util.
ReferenceSet
Add an object to the Set.
add(T)
- 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(T)
- Method in class net.spy.util.
WeakHashSet
Add this object to this Set if it's not already present.
addBits(int, int)
- Method in class net.spy.util.
BitArray
Add a set of bits from an integer.
addInterface(String)
- Method in class net.spy.util.
SPGen
Add an interface to the implements line.
addInterfaces(Collection<String>)
- Method in class net.spy.util.
SPGen
Add a collection of interfaces.
addJob(T)
- Method in class net.spy.cron.
JobQueue
Add a job.
addNextHop(SPNode<T>, SPVertex<T>)
- Method in class net.spy.util.
AbstractSPNode
addNextHop(SPNode<T>, SPVertex<T>)
- 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.concurrent.
ThreadPool
Add a task for one of the threads to execute.
addTask(Runnable, long)
- Method in class net.spy.concurrent.
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...).
afterExecute(Runnable, Throwable)
- Method in class net.spy.concurrent.
ThreadPool
afterExecute(Runnable, Throwable)
- Method in class net.spy.concurrent.
TrackingScheduledExecutor
ALERT
- Static variable in class net.spy.log.
Syslog
any()
- Method in class net.spy.test.
BaseMockCase
An invocation matcher that will allow any (0 or more) invocations of an expectation.
applyArgs(Collection<DBSP.Argument>)
- Method in class net.spy.db.
DBCP
Fill in the arguments (with types) for the given list of parameters.
applyArgs(Collection<DBSP.Argument>)
- 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.
availableObjects()
- Method in class net.spy.pool.
PoolContainer
Find out how many objects are available in this pool.
awaitTermination(long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
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.
BaseMockCase
- Class in
net.spy.test
Base test case for mock object tests.
BaseMockCase()
- Constructor for class net.spy.test.
BaseMockCase
beforeExecute(Thread, Runnable)
- Method in class net.spy.concurrent.
ThreadPool
beforeExecute(Thread, Runnable)
- Method in class net.spy.concurrent.
TrackingScheduledExecutor
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
cacheInstance(T)
- Method in class net.spy.factory.
GenFactory
Store or update an individual object in the cache.
cacheInstance(T)
- Method in class net.spy.factory.
Storage
Cache this instance.
CacheKey
- Annotation Type in
net.spy.factory
Specifies an alternate cache key for a given field.
CacheKeyFinder
- Class in
net.spy.factory
Locate relevant CacheKeys for a given class.
CacheKeyFinder()
- Constructor for class net.spy.factory.
CacheKeyFinder
CacheKeyFinder.Accessor
- Class in
net.spy.factory
Class to access an object from within another object.
CacheKeyFinder.Accessor(AccessibleObject)
- Constructor for class net.spy.factory.
CacheKeyFinder.Accessor
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).
CacheRefresher
- Class in
net.spy.factory
Cache refresh singleton for scheduling and performing cache clears.
CacheRefresher()
- Constructor for class net.spy.factory.
CacheRefresher
Constructor for subclasses of CacheRefresher.
CacheType
- Enum in
net.spy.factory
Storage type for caches.
calculatePaths(Collection<? extends SPNode<?>>)
- 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.
clear()
- Method in class net.spy.stat.
ComputingStat
Clear the stats that have been accumulated so far.
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(Closeable)
- Static method in class net.spy.util.
CloseUtil
Close a closeable.
close(Connection)
- Static method in class net.spy.util.
CloseUtil
Close a JDBC connection.
close()
- Method in class net.spy.util.
TTL
Calling this method states that we are no longer interested in the progress of this TTL.
CloseUtil
- Class in
net.spy.util
Object closer.
CloseUtil()
- Constructor for class net.spy.util.
CloseUtil
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<? extends Savable>)
- 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(Range<T>)
- Method in class net.spy.util.
Range
compareTo(SPVertex<N>)
- Method in class net.spy.util.
SPVertex
Compare this vertex to another vertex.
CompositeExecutorException
- Exception in
net.spy.concurrent
Execution exception thrown from a RetryableCallable get() when a failure has occurred.
CompositeExecutorException(ExecutionException)
- Constructor for exception net.spy.concurrent.
CompositeExecutorException
CompositeExecutorException(Collection<? extends ExecutionException>)
- Constructor for exception net.spy.concurrent.
CompositeExecutorException
ComputingStat
- Class in
net.spy.stat
Stat implementation that keeps averages and standard deviation and stuff.
ComputingStat()
- Constructor for class net.spy.stat.
ComputingStat
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(T)
- 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.
CounterStat
- Class in
net.spy.stat
Simple counter stat.
CounterStat()
- Constructor for class net.spy.stat.
CounterStat
Get an instance of CounterStat.
countQs(String)
- Static method in class net.spy.db.
DBUtil
createInstance(String)
- Method in class net.spy.util.
Instantiator
Create an instance of the given class (expected to be a C).
createInstance(String, ClassLoader)
- Method in class net.spy.util.
Instantiator
Create an instance of the given class (expected to be a C).
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(String, Object...)
- Method in class net.spy.log.
AbstractLogger
Log a formatted message at debug level.
debug(Object)
- Method in class net.spy.log.
AbstractLogger
Log a message at 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(String, Object...)
- Method in interface net.spy.log.
Logger
Log a formatted 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.
delayInterrupted(InterruptedException)
- Method in class net.spy.util.
LoopingThread
This method is invoked when the delay is interrupted.
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.
Digest(String)
- Constructor for class net.spy.util.
Digest
Get a Digest object with the given hash algorithm.
DigestHex
- Class in
net.spy.util
Hex digester.
DigestHex(String)
- Constructor for class net.spy.util.
DigestHex
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
<
T
> - Class in
net.spy.util
Wrap an Enumeration to provide an Iterator interface.
Enumeriterator(Enumeration<T>)
- 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 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(String, Object...)
- Method in class net.spy.log.
AbstractLogger
Log a formatted message at debug level.
error(Object)
- Method in class net.spy.log.
AbstractLogger
Log a message at 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.
error(String, Object...)
- Method in interface net.spy.log.
Logger
Log a formatted message at debug level.
evaluate(T)
- Method in interface net.spy.concurrent.
SynchronizationObject.Predicate
Evaluate with the current object to determine whether the condition is true.
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(Runnable)
- Method in class net.spy.concurrent.
Rescheduler
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(String, Object...)
- Method in class net.spy.log.
AbstractLogger
Log a formatted message at debug level.
fatal(Object)
- Method in class net.spy.log.
AbstractLogger
Log a message at 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(String, Object...)
- Method in interface net.spy.log.
Logger
Log a formatted message at debug 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.AnyParamMatcher
- Class in
net.spy.db
Parameter matching instance that matches any parameter.
FileDriver.AnyParamMatcher()
- Constructor for class net.spy.db.
FileDriver.AnyParamMatcher
FileDriver.ClassParamMatcher
- Class in
net.spy.db
Parameter matching instance that matches objects by class.
FileDriver.ClassParamMatcher(Class<?>)
- Constructor for class net.spy.db.
FileDriver.ClassParamMatcher
FileDriver.ParamMatcher
- Interface in
net.spy.db
Parameter matching interface for fuzzy matches on query parameters.
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 URL.
FileResultSetStub(URL, int)
- 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.
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<? extends InterfaceImplementor>)
- 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
<
T
> - Class in
net.spy.factory
Generic object instance cache for objects collections suitable of being stored completely in memory.
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 object from the cache, and defereference it if it's a reference.
get(String)
- Method in class net.spy.cache.
SimpleCache
Get an 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.concurrent.
SynchronizationObject
Get the current value of this lock.
get(Object)
- Method in class net.spy.factory.
CacheKeyFinder.Accessor
Get the value from the given object.
get()
- Method in class net.spy.util.
IdentityEqualifier
Get the object this IdentityEqualifier is wrapping.
get()
- Method in class net.spy.util.
Promise
Get the object.
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.
getAllObjects()
- Method in class net.spy.factory.
Storage
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.
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.
getCacheKeys(Class<?>)
- Method in class net.spy.factory.
CacheKeyFinder
Get the cache keys for the given class.
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.
getCompletedThreads(int, Callable<T>)
- Static method in class net.spy.test.
SyncThread
Get a collection of SyncThreads that all began as close to the same time as possible and have all completed.
getComputingStat(String)
- Static method in class net.spy.stat.
Stats
Get a computing stat by name (convenience).
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.
getCount()
- Method in class net.spy.stat.
ComputingStat
Get the number of times a value has been added to this stat.
getCount()
- Method in class net.spy.stat.
CounterStat
Get the current count for this counter.
getCounterStat(String)
- Static method in class net.spy.stat.
Stats
Get a counter stat by name (convenience).
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
getDecayAvg()
- Method in class net.spy.stat.
ComputingStat
Get the decaying average of this series.
getDigest()
- Method in class net.spy.util.
DigestHex
Get the type of digest to use for this digest authenticator.
getDistinctResultCount(int, Callable<T>)
- Static method in class net.spy.test.
SyncThread
Get the distinct result count for the given callable at the given concurrency.
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.
getExceptions()
- Method in exception net.spy.concurrent.
CompositeExecutorException
Get the execution exceptions that led up to this CompositeExecutorException.
getExtraInfo()
- Method in class net.spy.util.
TTL
Get the extra info provided for the TTL report.
getFetcher(Map<String, List<String>>)
- Method in class net.spy.net.
URLItem
Get a fetcher (override for testing).
getFileData(File)
- Static method in class net.spy.util.
SpyUtil
Return the contents of a file as a string.
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.
getHashAlg()
- Method in class net.spy.util.
Digest
Get the hash type to be used by this password digest thing.
getHexDigest(String)
- Method in class net.spy.util.
DigestHex
Get the hex digest of the 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.
getIdleThreadCount()
- Method in class net.spy.concurrent.
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.
SimpleCache
Get the singleton SimpleCache instance.
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.factory.
CacheKeyFinder
Get the singleton CacheKeyFinder instance.
getInstance()
- Static method in class net.spy.factory.
CacheRefresher
Get the singleton cache refresher instance.
getInstance()
- Static method in class net.spy.net.
URLWatcher
Get the static instance of URLWatcher.
getInstance()
- Static method in class net.spy.stat.
Stats
Get the singleton Stats instance.
getInstance()
- Static method in class net.spy.util.
Base64
Get the singleton base64 instance.
getInstance()
- Method in class net.spy.util.
Instantiator
Get the instantiated 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.
getLastRefresh()
- Method in class net.spy.factory.
GenFactory
Get the timestamp of the last time this was refreshed.
getLastRequest()
- Method in class net.spy.net.
URLItem
Find out when the last request was.
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
getMax()
- Method in class net.spy.stat.
ComputingStat
Get the maximum value seen in this stat.
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.
getMean()
- Method in class net.spy.stat.
ComputingStat
Get the average value seen in this stat.
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
getMin()
- Method in class net.spy.stat.
ComputingStat
Get the minimum value seen in this stat.
getMinorVersion()
- Method in class net.spy.db.
FileDriver
getMinTotalThreads()
- Method in class net.spy.concurrent.
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).
getMonitor()
- Method in class net.spy.concurrent.
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 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.
getName()
- Method in class net.spy.stat.
Stat
Get the name of this stat.
getNewURLItem(URL)
- Method in class net.spy.net.
URLWatcher
getNextHop(SPNode<T>)
- Method in class net.spy.util.
AbstractSPNode
getNextHop(SPNode<T>)
- 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(String, Object)
- Method in class net.spy.factory.
GenFactory
Get an object from an alternate cache by cache name and key.
getObject(int)
- Method in class net.spy.factory.
GenFactory
Convenience method for getObject(String,Object) assuming an integer field uniquely cached as ``id.''
getObject(String, Object)
- Method in class net.spy.factory.
Storage
Get a specific object by cache name and key.
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.
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(String, Object)
- Method in class net.spy.factory.
GenFactory
Get all of the objects mapped with the given key under the given cache name.
getObjects()
- Method in class net.spy.factory.
GenFactory
Get all objects cached by this factory.
getObjects(String, Object)
- Method in class net.spy.factory.
Storage
Get the objects multicached to a particular key.
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 Collection containing all parameters.
getParameters(int)
- Method in class net.spy.db.
DBSP
Get a Collection 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 Collection 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.concurrent.
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<String, String>)
- Method in class net.spy.db.
DatabaseMetaDataQuerySelector
getQuery(String, Map<String, String>)
- 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<String, String>)
- 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(T)
- Method in class net.spy.util.
ReferenceSet
Obtain the desired type of reference to the given object.
getReference(T)
- 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).
getResult()
- Method in class net.spy.test.
SyncThread
Get the result from the invocation.
getResultColumn(int)
- Method in class net.spy.db.
GenericResultSetStub
Get the Object at the given result column for the current result row.
getRetryDelay()
- Method in interface net.spy.concurrent.
RetryableCallable
Get the number of milliseconds we should wait until the next retry.
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.
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.
getStartTime()
- Method in class net.spy.cron.
Job
Get the time this job was requested to start.
getStat()
- Method in class net.spy.stat.
ComputingStat
getStat()
- Method in class net.spy.stat.
CounterStat
Get the count as a string.
getStat()
- Method in class net.spy.stat.
Stat
Get the current value of this stat as a String.
getStat(String, Class<? extends Stat>)
- Static method in class net.spy.stat.
Stats
Get a stat by name.
getStat(String)
- Static method in class net.spy.stat.
Stats
Get the stat with the given name.
getStats()
- Method in class net.spy.stat.
Stats
Get all known stats.
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.
getStddev()
- Method in class net.spy.stat.
ComputingStat
Compute the standard deviation of the current series.
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.
getSum()
- Method in class net.spy.stat.
ComputingStat
Get the sum of all values added to this stat.
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
getThrowable(Object[])
- Method in class net.spy.log.
AbstractLogger
Get the throwable from the last element of this array if it is Throwable, else null.
getTime(int)
- Method in class net.spy.db.
GenericResultSetStub
getTime(String)
- Method in class net.spy.db.
GenericResultSetStub
getTime()
- Method in class net.spy.util.
ProgressStats
Get the current time for this ProgressStats instance.
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.
getUpdateFrequency()
- Method in class net.spy.net.
URLItem
Get the update frequency.
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).
H
handleNullLookup(String, Object)
- Method in class net.spy.factory.
GenFactory
This method is called whenever getObject(String,Object) would return null.
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 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<String, List<String>>)
- 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.
increment()
- Method in class net.spy.stat.
CounterStat
Increment the counter.
increment(long)
- Method in class net.spy.stat.
CounterStat
Increment the counter a specific amount.
info(Object, Throwable)
- Method in class net.spy.log.
AbstractLogger
Log a message at info level.
info(String, Object...)
- Method in class net.spy.log.
AbstractLogger
Log a formatted message at info level.
info(Object)
- Method in class net.spy.log.
AbstractLogger
Log a message at 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(String, Object...)
- Method in interface net.spy.log.
Logger
Log a formatted 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.
Instantiator
<
C
> - Class in
net.spy.util
Generic object instantiator.
Instantiator()
- Constructor for class net.spy.util.
Instantiator
Default constructor to allow subclasses to figure out how they want to build their instance.
Instantiator(String)
- Constructor for class net.spy.util.
Instantiator
Create an instantiator for the given class name.
Instantiator(String, ClassLoader)
- Constructor for class net.spy.util.
Instantiator
Create an instantiator for the given class name in the given class loader.
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().
invokeAll(Collection<Callable<T>>)
- Method in class net.spy.concurrent.
Rescheduler
invokeAll(Collection<Callable<T>>, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
invokeAny(Collection<Callable<T>>)
- Method in class net.spy.concurrent.
Rescheduler
invokeAny(Collection<Callable<T>>, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
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.
isRunning()
- Method in class net.spy.net.
URLItem
True if this is still running.
isShutdown()
- Method in class net.spy.concurrent.
Rescheduler
isTerminated()
- Method in class net.spy.concurrent.
Rescheduler
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.concurrent.
ThreadPoolObserver
This method will be called to indicate the completion of a job.
JobQueue
<
T
extends
Job
> - 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<T>, 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
- Enum in
net.spy.log
Levels for logging.
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(T, int)
- Method in class net.spy.util.
AbstractSPNode
Link this SPNode to the given SPNode at the given cost.
linkTo(T)
- 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
<
K
,
V
> - 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.net.
HTTPFetch
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.
SPGen
Usage: SPGen filename
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.
makeMCastSocket(int)
- Method in class net.spy.cache.
CacheClearRequestListener
makeSource()
- Method in class net.spy.util.
InterfaceImplementor
Generate the source code for the class this object represents.
Mapper
<
F
,
T
> - Class in
net.spy.concurrent
Map a collection of objects with a given transformer.
Mapper()
- Constructor for class net.spy.concurrent.
Mapper
Construct a Mapper backed by an in-place executor.
Mapper(ExecutorService)
- Constructor for class net.spy.concurrent.
Mapper
Construct a Mapper backed by the given executor service.
markFinished()
- Method in class net.spy.cron.
Job
Mark this job as having stopped running.
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.
matches(Object)
- Method in class net.spy.db.
FileDriver.AnyParamMatcher
matches(Object)
- Method in class net.spy.db.
FileDriver.ClassParamMatcher
matches(Object)
- Method in interface net.spy.db.
FileDriver.ParamMatcher
Return true if this parameter matches the given object.
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.concurrent
- package net.spy.concurrent
Concurrent Tools
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.stat
- package net.spy.stat
Tools for gathering and reporting on statistics
net.spy.test
- package net.spy.test
Classes to assist in testing software.
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.
NO_MORE_RETRIES
- Static variable in interface net.spy.concurrent.
RetryableCallable
Special return value for getRetryDelay indicating no further retries should be attempted.
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.
onComplete(boolean, Object)
- Method in interface net.spy.concurrent.
RetryableCallable
Invoked when the execution of a retryable is complete.
onExecutionException(ExecutionException)
- Method in interface net.spy.concurrent.
RetryableCallable
Method called whenever an execution exception occurs while running the call() method.
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.
poll()
- Method in class net.spy.concurrent.
RetryableExecutorCompletionService
poll(long, TimeUnit)
- Method in class net.spy.concurrent.
RetryableExecutorCompletionService
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
Prepare the statement 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.
printStackTrace(PrintStream)
- Method in exception net.spy.concurrent.
CompositeExecutorException
printStackTrace(PrintWriter)
- Method in exception net.spy.concurrent.
CompositeExecutorException
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
<
T
> - 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(Serializable, Serializable)
- Method in class net.spy.cache.
DiskCache
Store an object in the cache.
put(K, V)
- Method in class net.spy.cache.
LRUCache
put(K, V)
- 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
QUIT_ACK
- Static variable in class net.spy.net.
SNPP
Response code to acknowldege a quit command.
R
Range
<
T
extends java.lang.Comparable<
T
>> - Class in
net.spy.util
A range of Comparable objects.
Range(T, T)
- Constructor for class net.spy.util.
Range
Get an instance of Range.
Range.MatchType
- Enum in
net.spy.util
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.
realGet(Object)
- Method in class net.spy.factory.
CacheKeyFinder.Accessor
recache(GenFactory<?>, long, long)
- Method in class net.spy.factory.
CacheRefresher
Request a recache of the given factory to get data as of the given date after the given delay.
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
<
T
> - 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<T>)
- 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, URL)
- Method in class net.spy.db.
FileDriver
Register a query to URL mapping.
registerQuery(String, String, Object[], URL)
- Method in class net.spy.db.
FileDriver
Register a ResultSet URL to a parameterized query.
registerQuery(String, DBSQL, Object[], URL)
- Method in class net.spy.db.
FileDriver
Register the query(-ies) from the given DBSQL and args to a URL.
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(String)
- Method in class net.spy.cache.
SimpleCache
Remove an object from the cache.
remove(String, Object)
- Method in class net.spy.cache.
SimpleCache
Conditionally remove an object from the cache.
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.
removeEldestEntry(Map.Entry<K, V>)
- Method in class net.spy.cache.
LRUCache
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.
Rescheduler
- Class in
net.spy.concurrent
ScheduledExecutorService wrapper that allows RetryableCallable objects to be retried upon failure.
Rescheduler(ScheduledExecutorService)
- Constructor for class net.spy.concurrent.
Rescheduler
Get an instance of Rescheduler with the given backing ScheduledExecutorService.
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.
RetryableCallable
<
V
> - Interface in
net.spy.concurrent
Interface for callables that may need to be retried if unsuccessful.
RetryableExecutorCompletionService
<
V
> - Class in
net.spy.concurrent
CompletionService that honors RetryableCallable instances.
RetryableExecutorCompletionService(ExecutorService)
- Constructor for class net.spy.concurrent.
RetryableExecutorCompletionService
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
<
T
> - 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<? extends T>)
- 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.net.
URLItem
run()
- Method in class net.spy.test.
SyncThread
Wait for the barrier, invoke the callable and capture the result or an exception.
run()
- Method in class net.spy.util.
LoopingThread
The run loop itself.
run(Runnable)
- Method in interface net.spy.util.
RunnableRunner
Run the supplied Runnable.
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.
runLoop()
- Method in class net.spy.util.
LoopingThread
This is the stuff that should happen during each execution of the run loop.
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
<
K
,
V
extends
Savable
> - 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<K, V>)
- 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<Savable>)
- 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, Integer)
- Method in class net.spy.db.
Saver
Save this Savabale and everything it contains.
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.
schedule(Runnable, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
schedule(Callable<T>, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
Process the given callable.
schedule(Callable<V>, long, TimeUnit)
- Method in interface net.spy.concurrent.
ScheduledCompletionService
Schedule a callable to be run in the future.
schedule(Runnable, long, TimeUnit)
- Method in interface net.spy.concurrent.
ScheduledCompletionService
Schedule a runnable to be run in the future.
schedule(Callable<V>, long, TimeUnit)
- Method in class net.spy.concurrent.
ScheduledExecutorCompletionService
schedule(Runnable, long, TimeUnit)
- Method in class net.spy.concurrent.
ScheduledExecutorCompletionService
scheduleAtFixedRate(Runnable, long, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
ScheduledCompletionService
<
V
> - Interface in
net.spy.concurrent
Extended completion service allowing future tasks to also be tracked.
ScheduledExecutorCompletionService
<
V
> - Class in
net.spy.concurrent
Completion service that allows completion tracking on scheduled items as well as
ScheduledExecutorCompletionService(ScheduledExecutorService)
- Constructor for class net.spy.concurrent.
ScheduledExecutorCompletionService
scheduleWithFixedDelay(Runnable, long, long, TimeUnit)
- Method in class net.spy.concurrent.
Rescheduler
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(T)
- Method in class net.spy.concurrent.
SynchronizationObject
Set a new value and signal anyone listening for a value change.
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(Range.MatchType)
- 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(SimpleCache)
- Static method in class net.spy.cache.
SimpleCache
Set the singleton SimpleCache instance.
setInstance(ConnectionSourceFactory)
- Static method in class net.spy.db.
ConnectionSourceFactory
Set the singleton instance.
setInstance(GetPK)
- Static method in class net.spy.db.
GetPK
Set the singleton instance.
setInstance(CacheKeyFinder)
- Static method in class net.spy.factory.
CacheKeyFinder
Set the singleton CacheKeyFinder instance.
setInstance(CacheRefresher)
- Static method in class net.spy.factory.
CacheRefresher
Set a CacheRefresher instance.
setInstance(URLWatcher)
- Static method in class net.spy.net.
URLWatcher
Set an instance (for testing).
setInstance(Stats)
- Static method in class net.spy.stat.
Stats
Set the singleton stats instance.
setInstance(C)
- Method in class net.spy.util.
Instantiator
Set the 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.
setLong(int, long)
- Method in class net.spy.db.
GenericPreparedStatementStub
setLowMatch(Range.MatchType)
- 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.
setMetaData(ResultSetMetaData)
- Method in class net.spy.db.
GenericResultSetStub
Set the ResultSetMetaData used for this ResultSet.
setModified(boolean)
- Method in class net.spy.db.
AbstractSavable
Set the ``modified'' flag for this object.
setMonitor(ThreadPoolObserver)
- Method in class net.spy.concurrent.
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.
setName(String)
- Method in class net.spy.stat.
Stat
Set the name of this stat.
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.
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.concurrent.
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<String, String>)
- 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<Object[]>)
- Method in class net.spy.db.
GenericResultSetStub
Set the results for this ResultSet to use.
setRunning(Runnable)
- Method in class net.spy.concurrent.
WorkerThread
Set the runnable that is being executed, or null if the run is complete.
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.
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.
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.
setValue(long)
- Method in class net.spy.stat.
CounterStat
Set the absolute value of this counter.
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
<
N
extends
SPNode
<
N
>> - Class in
net.spy.util
Represents the shortest path between two SPNodes.
ShortestPath(N, N)
- 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()
- Static method in class net.spy.cache.
SpyCache
Shut down the cache.
shutdown()
- Method in class net.spy.concurrent.
Rescheduler
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.factory.
CacheRefresher
Shut down this cache refresher instance.
shutdown()
- Method in class net.spy.net.
URLWatcher
Instruct the URLWatcher to stop URLWatching.
shutdown()
- Method in class net.spy.util.
TTLMonitor
Shutdown the monitor.
shutdownNow()
- Method in class net.spy.concurrent.
Rescheduler
shuttingDown()
- Method in class net.spy.util.
LoopingThread
Hook method invoked when the thread is shutting down.
SimpleCache
- Class in
net.spy.cache
A simple time-based cache.
SimpleCache()
- Constructor for class net.spy.cache.
SimpleCache
Get an instance of SimpleCache.
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
<
T
> - 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<T>)
- 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
<
T
extends
SPNode
<
T
>> - Interface in
net.spy.util
A Node for a shortest path graph.
SPVertex
<
N
extends
SPNode
<
N
>> - Class in
net.spy.util
A weighted connection to a SPNode.
SPVertex(N, int)
- Constructor for class net.spy.util.
SPVertex
Get an instance of SPVertex.
SPVertex(N)
- 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.
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.concurrent.
ThreadPool
Start the ThreadPool.
start()
- Method in class net.spy.util.
ProgressStats
Mark us having started processing something.
startingUp()
- Method in class net.spy.util.
LoopingThread
Hook method invoked when the thread is starting up.
startWatching(URLItem)
- Method in class net.spy.net.
URLWatcher
Start watching the given URL.
Stat
- Class in
net.spy.stat
Base class for all stats.
Stat()
- Constructor for class net.spy.stat.
Stat
Get an instance of Stat.
Stats
- Class in
net.spy.stat
Holder of the stats.
Stats()
- Constructor for class net.spy.stat.
Stats
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.
Storage
<
T
> - Class in
net.spy.factory
An implementation of CacheEntry that is backed by a HashMap.
Storage(Collection<T>)
- Constructor for class net.spy.factory.
Storage
Get an instance of HashCacheEntry.
store(String, Object, long)
- Method in class net.spy.cache.
SimpleCache
Store an object in the cache.
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.
submit(Callable<T>)
- Method in class net.spy.concurrent.
Rescheduler
Process the given callable.
submit(Runnable)
- Method in class net.spy.concurrent.
Rescheduler
submit(Runnable, T)
- Method in class net.spy.concurrent.
Rescheduler
submit(Callable<V>)
- Method in class net.spy.concurrent.
RetryableExecutorCompletionService
submit(Runnable, V)
- Method in class net.spy.concurrent.
RetryableExecutorCompletionService
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.
SynchronizationObject
<
T
> - Class in
net.spy.concurrent
Object that will wait until a predicate determines that the value has been set to a particular value.
SynchronizationObject(T)
- Constructor for class net.spy.concurrent.
SynchronizationObject
Construct a synchronization object on the given object.
SynchronizationObject.Predicate
<
T
> - Interface in
net.spy.concurrent
Synchronization object predicate for evaluation in waitUntilTrue.
SyncThread
<
T
> - Class in
net.spy.test
Thread that invokes a callable multiple times concurrently.
SyncThread(CyclicBarrier, Callable<T>)
- Constructor for class net.spy.test.
SyncThread
Get a SyncThread that will call the given callable when the given barrier allows it past.
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
take()
- Method in class net.spy.concurrent.
RetryableExecutorCompletionService
ThreadPool
- Class in
net.spy.concurrent
A producer/consumer thread pool for easy parallelism.
ThreadPool(String, int, int, int, BlockingQueue<Runnable>)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool.
ThreadPool(String, int, int, int, int)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool.
ThreadPool(String, int, int, int)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool.
ThreadPool(String, int, int)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool.
ThreadPool(String, int)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool.
ThreadPool(String)
- Constructor for class net.spy.concurrent.
ThreadPool
Get an instance of ThreadPool with five threads and a normal priority.
ThreadPoolObserver
- Class in
net.spy.concurrent
Receive notification of job completion.
ThreadPoolObserver()
- Constructor for class net.spy.concurrent.
ThreadPoolObserver
Get an instance of ThreadPoolObserver.
ThreadPoolRunnable
- Interface in
net.spy.concurrent
Interface that flags a class as having overridden toString() for debug display in a thread list.
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
<
K
,
V
> - 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<String, String>)
- Method in class net.spy.util.
SpyToker
Tokenize a file.
tokenizeString(String, Map<String, String>)
- 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.concurrent.
SynchronizationObject
String this SynchronizationObject.
toString()
- Method in class net.spy.concurrent.
ThreadPool
String me.
toString()
- Method in interface net.spy.concurrent.
ThreadPoolRunnable
Subclasses must override toString() to produce an informative debug string.
toString()
- Method in class net.spy.concurrent.
WorkerThread
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 enum 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.stat.
Stat
getName()=getStat()
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.
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.
TrackingScheduledExecutor
- Class in
net.spy.concurrent
ScheduledExecutorServer that uses WorkerThreads to track what's beging executed.
TrackingScheduledExecutor(int, RejectedExecutionHandler, ThreadGroup, String)
- Constructor for class net.spy.concurrent.
TrackingScheduledExecutor
Get a TrackingScheduledExecutor.
TrackingScheduledExecutor(int, ThreadGroup, String)
- Constructor for class net.spy.concurrent.
TrackingScheduledExecutor
Get a TrackingScheduledExecutor.
transactionCommited()
- Method in class net.spy.db.
AbstractSavable
Whenever this transaction is committed, automatically flag it as saved.
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(ThreadGroup, String)
- Constructor for class net.spy.db.
TransactionPipeline
Get an instance of TransactionPipeline.
TransactionPipeline()
- Constructor for class net.spy.db.
TransactionPipeline
Get a transaction pipeline with no specific name.
transform(Transformer<F, T>, Collection<? extends F>)
- Method in class net.spy.concurrent.
Mapper
Transform the given collection using the given transformer.
transform(F)
- Method in interface net.spy.concurrent.
Transformer
Transform the given value.
Transformer
<
F
,
T
> - Interface in
net.spy.concurrent
Interface that defines a function that transforms a value of a certain type to a value of another type.
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 an instance of URLItem.
URLItem(URL, int)
- 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.
URLWatcher()
- Constructor for class net.spy.net.
URLWatcher
Get an instance of URLWatcher.
USER
- Static variable in class net.spy.log.
Syslog
UUCP
- Static variable in class net.spy.log.
Syslog
V
valueOf(String)
- Static method in enum net.spy.factory.
CacheType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum net.spy.log.
Level
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum net.spy.util.
Range.MatchType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum net.spy.factory.
CacheType
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum net.spy.log.
Level
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum net.spy.util.
Range.MatchType
Returns an array containing the constants of this enum type, in the order they're declared.
W
waitForCompletion()
- Method in class net.spy.concurrent.
ThreadPool
Shut down all of the threads after all jobs are complete, and wait for all tasks to complete.
waitForContent(long, TimeUnit)
- Method in class net.spy.net.
URLItem
Wait for content to arrive.
waitForTaskCount(int)
- Method in class net.spy.concurrent.
ThreadPool
Wait until there are no more than
num
tasks in the queue.
waitUntilEquals(T, long, TimeUnit)
- Method in class net.spy.concurrent.
SynchronizationObject
Wait for the contained object to become equal to the provided value.
waitUntilNotNull(long, TimeUnit)
- Method in class net.spy.concurrent.
SynchronizationObject
Wait for the contained object to become non-null.
waitUntilTrue(SynchronizationObject.Predicate<T>, long, TimeUnit)
- Method in class net.spy.concurrent.
SynchronizationObject
Wait for the given predicate to become true in respect to the contained object.
warn(Object, Throwable)
- Method in class net.spy.log.
AbstractLogger
Log a message at warning level.
warn(String, Object...)
- Method in class net.spy.log.
AbstractLogger
Log a formatted message at debug level.
warn(Object)
- Method in class net.spy.log.
AbstractLogger
Log a message at 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.
warn(String, Object...)
- Method in interface net.spy.log.
Logger
Log a formatted message at debug 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
<
T
> - 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<T>)
- Constructor for class net.spy.util.
WeakHashSet
Get a WeakHashSet with the contents from the given Collection.
WorkerThread
- Class in
net.spy.concurrent
Thread that will perform the work for thread pools.
WorkerThread(ThreadGroup, Runnable, String)
- Constructor for class net.spy.concurrent.
WorkerThread
Construct a named worker thread for the given runnable in the given ThreadGroup.
WorkerThread(Runnable, String)
- Constructor for class net.spy.concurrent.
WorkerThread
Construct a named worker thread for the given runnable.
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
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.