Package org.infinispan.util

General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and collections and containers designed to supplement the JDK-provided containers.

See:
          Description

Interface Summary
BidirectionalMap<K,V> An extension of Map that returns ReversibleOrderedSets
ConcurrentWeakKeyHashMap.ReusableIterator<E>  
FileLookup Holds the logic of looking up a file, in the following sequence:
Immutables.Immutable  
InfinispanCollections.Function<E,T> A function that converts a type into another one.
InfinispanCollections.MapMakerFunction<K,V,E> A function that converts an entry into a key/value pair for use in a map.
ReversibleOrderedSet<E> A set that allows reverse iteration of the set elements, exposed via the ReversibleOrderedSet.reverseIterator() method.
 

Class Summary
AbstractFileLookup  
AbstractMap<K,V> Similar to the JDK's AbstractMap, this provides common functionality for custom map implementations.
AbstractMap.SimpleEntry<K,V>  
Base64 Encodes and decodes to and from Base64 notation.
Base64.InputStream A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BeanUtils Simple JavaBean manipulation helper methods
BidirectionalLinkedHashMap<K,V> Similar to the JDK's LinkedHashMap except that this version makes use of the fact that entries are bidirectionally linked and can hence be navigated either from the start or from the end.
ByteArrayKey Wrapper class for byte[] keys.
ByteArrayKey.Externalizer  
ClassFinder Find infinispan classes utility
ClusterIdGenerator This class generates ids guaranteed to be unique cluster wide.
ConcurrentWeakKeyHashMap<K,V> An alternative weak-key ConcurrentMap which is similar to ConcurrentHashMap.
EnumerationList<T> An Enumeration -> List adaptor
FastCopyHashMap<K,V> A HashMap that is optimized for fast shallow copies.
FileLookupFactory  
FileLookupFactory.DefaultFileLookup  
FileLookupFactory.OsgiFileLookup  
ForwardingList<E> A list which forwards all its method calls to another list.
ImmutableListCopy<E> A lightweight, read-only copy of a List.
Immutables Factory for generating immutable type wrappers.
Immutables.ImmutableMapWrapperExternalizer  
InfinispanCollections Static helpers for Infinispan-specific collections
JaxbSchemaGenerator Generates XML schema using JAXB annotations from our configuration class hierarchy.
LegacyKeySupportSystemProperties A wrapper around system properties that supports legacy keys
LegacyKeySupportTypedProperties An extension of TypedProperties that has support for legacy keys.
ModuleProperties The ModuleProperties class represents Infinispan's module configuration key value pairs.
ObjectDuplicator A helper that efficiently duplicates known object types.
Proxies Proxies is a collection of useful dynamic profixes.
ReadOnlyDataContainerBackedKeySet A Set view of keys in a data container, which is read-only and has efficient contains(), unlike some data container ley sets.
ReflectionUtil Basic reflection utilities to enhance what the JDK provides.
SimpleImmutableEntry<K,V> Where is Java 1.6?
StringPropertyReplacer A utility class for replacing properties in strings.
SysPropertyActions Priviledged actions for the package
TimSort<T> TimSort, backported from JDK7 sources (build openjdk-7-ea-src-b77-03_dec_2009).
TypedProperties Type-aware properties.
Util General utility methods used throughout the Infinispan code base.
Util.MapModifications Static inner class that holds 3 maps - for data added, removed and modified.
VisitableBidirectionalLinkedHashSet<E> Similar to the JDK's LinkedHashSet except that it sets the underlying LinkedHashMap's accessOrder constructor parameter to true, allowing for recording of visits.
 

Package org.infinispan.util Description

General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and collections and containers designed to supplement the JDK-provided containers.


-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.