Top Description Interfaces Annotations Classes
[default module]

Package net.sf.ehcache.util


Util package. This package contains utilities - common functionality that can be factored out to utility classes which have public static methods.

Interface Summary

Modifier and TypeInterface and Description
public interface
LongSequence

A sequence producing longs

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
FindBugsSuppressWarnings

Annotation used to suppress FindBugs warnings in Ehcache core code.

public @interface
ManagementAttribute

Annotation used to indicate that a Cache[Manager]Sampler method is a management attribute (non-statistic), used for filtering while creating entities when the REST interface doesn't request specific attributes.

Class Summary

Modifier and TypeClass and Description
public class
AggregateIterator<T>

This Iterator iterates over a collection of iterators.

public class
AtomicLongSequence

Simple non-persistent implementation of LongSequence

public class
CacheTransactionHelper

A collection of utility methods helping controlling transactions for managed operations which may require them.

public class
CircularLossyQueue<
Type of the item's to add in this queue
T
>

An implementation of a CircularQueue data-structure.

public class
ClassLoaderUtil

Keeps all classloading in ehcache consistent.

public class
FailSafeTimer

A fail-safe timer in the sense that if the runtime environment restricts creating new threads, it doesn't blow up with an exception.

public abstract class
LargeCollection<E>

Collection for large set.

public abstract class
LargeSet<E>

Set for holding large entries of set.

public class
MemoryEfficientByteArrayOutputStream

This class is designed to minimise the number of System.arraycopy(); methods required to complete.

public class
MemorySizeParser

Memory size parser using the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes, the letter g or G to indicate gigabytes and the letter t or T to indicate terabytes.

public class
MergedEnumeration<E>

An utility class to merge several enumerations into a single one

public class
NamedThreadFactory

A ThreadFactory that sets names to the threads created by this factory.

public class
PreferredLoaderObjectInputStream

ObjectInputStream that uses a supplied classloader when resolving classes

public class
ProductInfo

Build properties of the product

public class
PropertyUtil

Property utilities.

public class
SetAsList<E>

Wraps a set to provide a list interface.

pack-priv class
SlewClock

SlewClock will return the current time in millis, but will never go back in time.

pack-priv class
TimeProviderLoader

Loader for the TimeProvider implementation that will be used in SlewClock Changing this before loading the SlewClock class enables you to use some custom SlewClock.TimeProvider implementation.

public class
Timestamper

Generates increasing identifiers (in a single VM only).

public class
TimeUtil

Utilities for converting times

public class
VmUtils

Misc.

public class
WeakIdentityConcurrentMap<
The key type
K
,
The value type
V
>

A poor man's implementation of a WeakIdentityConcurrentMap to hold the CacheManager associated ExecutorServices