Package com.caucho.util

Assorted utilities

See:
          Description

Interface Summary
AlarmListener Interface for receiving alarm events.
ByteAppendable Interface for appending bytes to buffer or an output stream.
CacheListener Notifies the cache entry that it's been removed from the cache.
ChangeListener  
CharBufferWriter  
ComparableElement<E> Defines an interface to that an object can provide a comparison of itself to others of its type, with the comparison returned as an object.
ComparableElement.Comparison<E> A comparison of the typed element.
CompileException  
ConcurrentArrayList.Match<E,K>  
DisplayableException  
ExceptionWrapper  
ExitListener  
LineCompileException  
LruCache.Entry<K,V> Interface for entry iterator;
LruListener Notifies the cache entry that it's been removed from the cache.
SyncCacheListener Notifies the cache entry that it's been removed from the cache.
ThreadTask Interface for a generic thread task.
TimeInterval Defines a TimeInterval, the period of time something is current.
TimeIntervalEntry Implementing this interface facilitiates scheduling events.
TimeIntervalScheduler<E extends TimeIntervalEntry> Defines an interface for scheduling "something" on an entry that a provider of that service would implement.
 

Class Summary
AbstractSoftScheduler<E extends TimeIntervalEntry> Provides an implementation of the for managing schedules based on soft or weak references to the entries in the schedule.
Alarm The alarm class provides a lightweight event scheduler.
AlarmClock The alarm class provides a lightweight event scheduler.
AlarmHeap The alarm class provides a lightweight event scheduler.
Base64 Base64 decoding.
BeanUtil Bean utilities.
ByteBuffer A variable-length byte buffer, similar to a character buffer.
CaseInsensitiveHashMap<V>  
CaseInsensitiveIntMap The IntMap provides a simple hashmap from keys to integers.
CharBuffer CharBuffer is an unsynchronized version of StringBuffer.
CharCursor  
CharScanner A scanner for simple delimiter based parsing.
CharSegment CharSegment is a section of a character buffer
ConcurrentArrayList<E> A Concurrent array similar to the JDK's CopyOnWriteArrayList but saves a fixed array to avoid extra allocations.
ConcurrentArrayList.ArrayIterator<E>  
Crc64 Crc64 hash
CyclicBarrier Waits for n threads.
DoubleArray  
EnumIterator<T> Makes an Enumeration appear as an Iterator.
Exit The exit class is used to automatically clean state.
FreeList<T> FreeList provides a simple class to manage free objects.
HashKey Creates hashes for the identifiers.
HashKeyManager Creates hashes for the identifiers.
HashMapImpl<K,V> HashMap which doesn't allocate a new DeployController per item.
Hex hex decoding.
HostUtil Host/Inet utilities.
Html Html utils
HTTPUtil HTTP utilities.
IdentityIntMap The IntMap provides a simple hashmap from keys to integers.
InetNetwork Represents an internet network mask.
IntArray The IntArray is a variable array containing integers.
IntegerResult Container for an integer result.
IntMap The IntMap provides a simple hashmap from keys to integers.
IntSet  
IoUtil convenience methods for io
JdbcUtil convenience methods for jdbc
JniCaucho JNI calls for misc system utilities.
JniTroubleshoot Common error management for JNI loading
L10N Localization
LifoSet<E> Stack (lifo) ordered set, used by the JCA code so recent connections are used first.
LocaleUtil Locale generator.
Log Static facade.
LongKeyHashMap<E> Cache with a clock replacement policy.
LongKeyLruCache<V> Fixed length cache with a LRU replacement policy.
LongKeyMap The LongKeyMap provides a simple hashmap from longs to values.
LongMap<K> The IntMap provides a simple hashmap from keys to integers.
LruCache<K,V> Fixed length cache with a LRU replacement policy.
MemoryPoolAdapter  
MemoryPoolAdapter.MemUsage  
NullEnumeration<T> A null iterator
NullIterator<E> A null iterator
NullOutputStream An OutputStream that writes to nothing.
Primes Base64 decoding.
QDate Resin Date object
RandomUtil System-wide random number generator.
ResinDeflaterInputStream Creates hashes for the identifiers.
ResinDeflaterOutputStream Creates hashes for the identifiers.
ResinThreadPoolExecutor A generic pool of threads available for Alarms and Work tasks.
RuntimeExceptionWrapper  
ScheduledExecutorServiceImpl A generic pool of threads available for Alarms and Work tasks.
Services Returns the META-INF/services defined for a given name.
Sha256OutputStream Creates hashes for the identifiers.
Slist Cons-cell slist of objects
Sort  
Sprintf  
StringCharCursor  
Test QA harness set this.
ThreadDump Generate a thread dump
TimedCache<K,V> A timed LRU cache.
TimedItem A single item timed cache.
TimeIntervalElement Implements the TimeInterval interface.
Tree  
URLUtil URL utilities.
Utf8 Utf8 decoding.
WaitQueue wait queue
WeakAlarm The alarm class provides a lightweight event scheduler.
WeakLruCache<K,V> Fixed length cache with a LRU replacement policy.
 

Enum Summary
MemoryPoolAdapter.PoolType  
TimeInterval.Comparison Defines the set of relationships between two time intervals.
TimeIntervalScheduler.ScheduleType  
 

Exception Summary
NotImplementedException A better name for stubbed out interfaces.
RegistryException Base class for configuration exceptions.
SQLExceptionWrapper Wraps an exception in a SQLException wrapper.
 

Annotation Types Summary
Friend  
 

Package com.caucho.util Description

Assorted utilities