Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G H I K M P R S T

A

add(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Adds a new object to this cache.
addHead(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Adds a cache object as the new haed to the list of all cached objects in this cache.
addToLruCache() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
addToLruCache() - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Invoked after an object was added to the cache.

C

CmsFlexLruCache - class com.opencms.flex.util.CmsFlexLruCache.
Implements an LRU (last recently used) cache.
CmsFlexLruCache(int, int, int, boolean) - Constructor for class com.opencms.flex.util.CmsFlexLruCache
The constructor with all options.
CmsFlexLruCache(int, int, int) - Constructor for class com.opencms.flex.util.CmsFlexLruCache
Constructor for a LRU cache with forced garbage collection/finalization.
CmsFlexLruCache(int, int) - Constructor for class com.opencms.flex.util.CmsFlexLruCache
Constructor for a LRU cache with forced garbage collection/finalization, the max.
CmsFlexLruCache(int, int, boolean) - Constructor for class com.opencms.flex.util.CmsFlexLruCache
Constructor for a LRU cache where the max.
CmsLruHashMap - class com.opencms.flex.util.CmsLruHashMap.
A hash table based implementation of the Map interface with limited size and a "last-recently-used" cache policy of the mapped key/values.
CmsLruHashMap() - Constructor for class com.opencms.flex.util.CmsLruHashMap
Creates a LRU hash map with an initial capacity of (16), a load factor of (0.75), and a max.
CmsLruHashMap(int) - Constructor for class com.opencms.flex.util.CmsLruHashMap
Creates a LRU hash map with a given initial capacity, a load factor of (0.75), and a max.
CmsLruHashMap(int, float) - Constructor for class com.opencms.flex.util.CmsLruHashMap
Creates a LRU hash map with a given initial capacity, a given load factor, and a max.
CmsLruHashMap(int, int) - Constructor for class com.opencms.flex.util.CmsLruHashMap
Creates a LRU hash map with a given initial capacity, a load factor of (0.75), and a given max.
CmsLruHashMap(int, float, int) - Constructor for class com.opencms.flex.util.CmsLruHashMap
Creates a LRU hash map with a given initial capacity, a given load factor, and a given max.
CmsLruHashMap.CmsLruCacheObject - class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject.
An object saved under the LRU policy in a CmsLruHashMap.
CmsLruHashMap.CmsLruCacheObject(Object, Object, CmsLruHashMap) - Constructor for class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
Constuctor.
CmsMessages - class com.opencms.flex.util.CmsMessages.
Reads localized resource Strings from a java.util.ResourceBundle and provides convenience methods to access the Strings from a template.
CmsMessages(String, Locale) - Constructor for class com.opencms.flex.util.CmsMessages
Constructor for the messages with an initialized java.util.Locale.
CmsMessages(String, String) - Constructor for class com.opencms.flex.util.CmsMessages
Constructor for the messages with a language string.
CmsMessages(String, String, String) - Constructor for class com.opencms.flex.util.CmsMessages
Constructor for the messages with language and country code strings.
CmsMessages(String, String, String, String) - Constructor for class com.opencms.flex.util.CmsMessages
Constructor for the messages with language, country code and variant strings.
CmsResourceTranslator - class com.opencms.flex.util.CmsResourceTranslator.
This class provides a resource name translation facility.
CmsResourceTranslator(String[], boolean) - Constructor for class com.opencms.flex.util.CmsResourceTranslator
Constructor for the CmsResourceTranslator.
CmsStringSubstitution - class com.opencms.flex.util.CmsStringSubstitution.
Provides a String substitution functionality with Perl regular expressions.
CmsStringSubstitution() - Constructor for class com.opencms.flex.util.CmsStringSubstitution
Default constructor (empty).
CmsUUID - class com.opencms.flex.util.CmsUUID.
Generates a UUID using spatial and temporal uniqueness.
CmsUUID() - Constructor for class com.opencms.flex.util.CmsUUID
Creates a new UUID.
CmsUUID(String) - Constructor for class com.opencms.flex.util.CmsUUID
Create a UUID based on a String.
CmsUUID(byte[]) - Constructor for class com.opencms.flex.util.CmsUUID
Create a UUID based on a binary data array.
clear() - Method in class com.opencms.flex.util.CmsFlexLruCache
Removes all cached objects in this cache.
clear() - Method in class com.opencms.flex.util.CmsLruHashMap
Removes all objects from this map.
clone() - Method in class com.opencms.flex.util.CmsUUID
Clones this object.
com.opencms.flex.util - package com.opencms.flex.util
 
compareTo(Object) - Method in class com.opencms.flex.util.CmsUUID
 
contextReplace - Static variable in class com.opencms.flex.util.CmsStringSubstitution
 
contextSearch - Static variable in class com.opencms.flex.util.CmsStringSubstitution
 

D

DEBUG - Static variable in class com.opencms.flex.util.CmsResourceTranslator
DEBUG flag
DEBUG - Static variable in class com.opencms.flex.util.CmsStringSubstitution
DEBUG flag
decreaseCache(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Decrease this caches statistics and notify the cached object that it was removed from this cache.

E

equals(Object) - Method in class com.opencms.flex.util.CmsUUID
 
escapePattern(String) - Static method in class com.opencms.flex.util.CmsStringSubstitution
Escapes a String so it may be used as a Perl5 regular expression.

F

finalize() - Method in class com.opencms.flex.util.CmsFlexLruCache
Clears this cache for finalization.
finalize() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
finalize() - Method in class com.opencms.flex.util.CmsLruHashMap
Clears any allocated resources during finalization.

G

gc() - Method in class com.opencms.flex.util.CmsFlexLruCache
Removes the last recently used objects from the list of all cached objects as long as the costs of all cached objects are higher than the allowed avg.
get(Object) - Method in class com.opencms.flex.util.CmsLruHashMap
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key.
getAvgCacheCosts() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns the average costs of all cached objects.
getDate(long) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date.
getDate(Date) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date.
getDate(Date, int) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date.
getDateTime(long) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date with a time.
getDateTime(Date) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date with a time.
getDateTime(Date, int) - Method in class com.opencms.flex.util.CmsMessages
Returns a formatted date with a time.
getDummyEthernetAddress() - Static method in class com.opencms.flex.util.CmsUUID
Returns a String representing a dummy (random based) ethernet address.
getLruCache() - Method in class com.opencms.flex.util.CmsLruHashMap
Returns the internal cache used for the LRU policy.
getLruCacheCosts() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
getLruCacheCosts() - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Returns the cache costs of this object, as for example it's byte size.
getMaxCacheCosts() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns the max costs of all cached objects.
getMaxObjectCosts() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns the max allowed costs per cached object.
getNextLruObject() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
getNextLruObject() - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Returns the next object in the double linked list of all cached objects.
getNullUUID() - Static method in class com.opencms.flex.util.CmsUUID
Returns a null UUID, use this null UUID to check if a UUID has been initilized or not.
getObjectCosts() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns the current costs of all cached objects.
getPreviousLruObject() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
getPreviousLruObject() - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Returns the previous object in the double linked list of all cached objects.
getString(String) - Method in class com.opencms.flex.util.CmsMessages
Directly calls the getString(String) method of the wrapped ResourceBundle.
getTranslations() - Method in class com.opencms.flex.util.CmsResourceTranslator
Returns a copy of the initialized translation rules.
getValue() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
Returns the value.

H

hashCode() - Method in class com.opencms.flex.util.CmsUUID
Optimized hashCode implementation for UUID's.

I

I_CmsFlexLruCacheObject - interface com.opencms.flex.util.I_CmsFlexLruCacheObject.
Defines the methods which an object being cached by CmsFlexLruCache must implement.
increaseCache(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Increase this caches statistics and notify the cached object that it was added to this cache.
init(String) - Static method in class com.opencms.flex.util.CmsUUID
Initialize the UUID generator with the ethernet address of the server machine.
isCached(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Test if a given object resides inside the cache.
isInitialized() - Method in class com.opencms.flex.util.CmsMessages
Checks if the bundle was properly initialized.
isNullUUID() - Method in class com.opencms.flex.util.CmsUUID
Returns true if this UUID is equal to the null UUID.

K

key(String) - Method in class com.opencms.flex.util.CmsMessages
Gets the localized resource string for a given message key.

M

m_AvgCacheCosts - Variable in class com.opencms.flex.util.CmsFlexLruCache
The avg.
m_ForceFinalization - Variable in class com.opencms.flex.util.CmsFlexLruCache
Force a finalization after down-sizing the cache?
m_ListHead - Variable in class com.opencms.flex.util.CmsFlexLruCache
The head of the list of double linked LRU cache objects.
m_ListTail - Variable in class com.opencms.flex.util.CmsFlexLruCache
The tail of the list of double linked LRU cache objects.
m_LruCache - Variable in class com.opencms.flex.util.CmsLruHashMap
LRU cache to organize the cached objects efficient.
m_MaxCacheCosts - Variable in class com.opencms.flex.util.CmsFlexLruCache
The max.
m_MaxObjectCosts - Variable in class com.opencms.flex.util.CmsFlexLruCache
The max.
m_Next - Variable in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
Pointer to the next cache entry in the LRU cache.
m_ObjectCosts - Variable in class com.opencms.flex.util.CmsFlexLruCache
The costs of all cached objects.
m_ObjectCount - Variable in class com.opencms.flex.util.CmsFlexLruCache
The sum of all cached objects.
m_ParentHashMap - Variable in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
m_ParentKey - Variable in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
m_Previous - Variable in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
Pointer to the previous cache entry in the LRU cache.
m_Value - Variable in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
m_bundle - Variable in class com.opencms.flex.util.CmsMessages
 
m_continueMatching - Variable in class com.opencms.flex.util.CmsResourceTranslator
Flag to indicate if one or more matchings should be tried
m_ethernetAddress - Static variable in class com.opencms.flex.util.CmsUUID
Ethernet addess of the server machine
m_isNotInitialized - Static variable in class com.opencms.flex.util.CmsUUID
Flag to indicate if the ethernet addess has been initilized
m_locale - Variable in class com.opencms.flex.util.CmsMessages
 
m_perlPatternCache - Variable in class com.opencms.flex.util.CmsResourceTranslator
Perl5 patter cache to avoid unecessary re-parsing of properties
m_perlUtil - Variable in class com.opencms.flex.util.CmsResourceTranslator
Perl5 utility class
m_translations - Variable in class com.opencms.flex.util.CmsResourceTranslator
Internal array containing the translations from opencms.properties
m_uuid - Variable in class com.opencms.flex.util.CmsUUID
Internal UUID implementation

P

put(Object, Object) - Method in class com.opencms.flex.util.CmsLruHashMap
Associates the specified value with the specified key in this map.
putAll(Map) - Method in class com.opencms.flex.util.CmsLruHashMap
Copies all of the mappings from the specified map to this map.

R

remove(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Removes an object from the list of all cached objects in this cache, no matter what position it has inside the list.
remove(Object) - Method in class com.opencms.flex.util.CmsLruHashMap
Removes the mapping for this key from this map if present.
removeFromLruCache() - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
removeFromLruCache() - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Invoked after the object was removed to the cache.
removeTail() - Method in class com.opencms.flex.util.CmsFlexLruCache
Removes the tailing object from the list of all cached objects.

S

setNextLruObject(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
setNextLruObject(I_CmsFlexLruCacheObject) - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Set the next object in the double linked list of all cached objects.
setPreviousLruObject(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
 
setPreviousLruObject(I_CmsFlexLruCacheObject) - Method in interface com.opencms.flex.util.I_CmsFlexLruCacheObject
Set the previous object in the double linked list of all cached objects.
setValue(Object) - Method in class com.opencms.flex.util.CmsLruHashMap.CmsLruCacheObject
Sets the value.
size() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns the count of all cached objects.
substitute(String, String, String) - Static method in class com.opencms.flex.util.CmsStringSubstitution
Substitutes searchString in content with replaceItem.
substituteContextPath(String, String) - Static method in class com.opencms.flex.util.CmsStringSubstitution
Substitutes the OpenCms context path (e.g.
substituteFirst(String, String, String) - Static method in class com.opencms.flex.util.CmsStringSubstitution
Substitutes first occurance of searchString in content with replaceItem.
substitutePerl(String, String, String, String) - Static method in class com.opencms.flex.util.CmsStringSubstitution
Substitutes searchString in content with replaceItem.

T

toByteArray() - Method in class com.opencms.flex.util.CmsUUID
Returns the UUID as a 16-byte byte array.
toString() - Method in class com.opencms.flex.util.CmsFlexLruCache
Returns a string representing the current state of the cache.
toString() - Method in class com.opencms.flex.util.CmsUUID
 
touch(I_CmsFlexLruCacheObject) - Method in class com.opencms.flex.util.CmsFlexLruCache
Touch an existing object in this cache, in the sense that it's "last-recently-used" state is updated.
translateResource(String) - Method in class com.opencms.flex.util.CmsResourceTranslator
Translate a resource name according to the expressions set in the opencms.properties.

A C D E F G H I K M P R S T