Package com.marringtons.util

Every library requires a catch-all packages for classes that cannot be easily grouped elsewhere - and here it is - caches, maps, semaphores, sessions, threads and much more.

See:
          Description

Interface Summary
Closeable Used by any object that needs to be closed before it drops from sight.
IdleInterface Any class that wants to do low priority tasks while the system is not busy needs to implement IdleInterface and then register themselves with the Idle process.
 

Class Summary
Application A class of static data and methods designed to be used application wide - including properties, operating system, configurationd details and thread control.
Cache This is a generic caching system allowing LRU, time sensitive, time limited and pooling caches.
Idle This is a singleton called by the main application loop when the application has had nothing to do for at least a minute.
Log Adept provides a simplified logging system where the Sun or log4j classes are overkill.
Maps Maps is a helper class of static methods for working on and with maps (name/value pairs) and sets - primarily to allow convenient static programatic loading.
Semaphore This is a simple object to use as a semaphore.
Session Session provides support for saving and retrieving information related to one of many session where a session is common to a single client.
Session.Key Key is returned by Session factory methods to create a private static key to keep in calling classes to provide class, package or global scope session data.
Session.Lifetime Lifetime provides typesafe definition of session lifetime, being this session only or persist to disk to load the next time the same client activates a session.
Session.PersistentData This is DAO class used to persist session data to disk.
Session.PersistentData.index A persistent Session is always indexed by session ID.
Stack A stack is a simple array where data is always pushed to and popped off the end.
TestCase When using junit, use this class as a wrapper around the junit version to provide additional functionality.
ThreadData This class adds thread specific data storage and retrieval - important for client/server systems to keep conversation specific information.
 

Exception Summary
ProgrammingErrorException Effective Java: Programming Language Guide by Joshua Bloch Item 40:Use checked exceptions for recoverable conditions and run-time exceptions for programming errors.
 

Package com.marringtons.util Description

Every library requires a catch-all packages for classes that cannot be easily grouped elsewhere - and here it is - caches, maps, semaphores, sessions, threads and much more.



Copyright © 2005 Paul Marrington http://library.marringtons.com