com.trendmicro.grid.acl
Class StringCaches

java.lang.Object
  extended by com.trendmicro.grid.acl.StringCaches

public final class StringCaches
extends Object

Singleton that holds all used string caches.

Version:
1.0
Author:
juergen_kellerer, 2011-02-18

Method Summary
static StringCaches getInstance()
           
 com.trendmicro.grid.acl.metadata.MetadataStringCache getMetadataStringCache()
          Returns a shared string cache that is capable of sharing strings across metadata instances.
 com.trendmicro.grid.acl.commons.collections.StringCache getTagsStringCache()
          Returns a shared string cache that is used to share tag strings across instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StringCaches getInstance()

getMetadataStringCache

public com.trendmicro.grid.acl.metadata.MetadataStringCache getMetadataStringCache()
Returns a shared string cache that is capable of sharing strings across metadata instances.

Returns:
a shared string cache that is capable of sharing strings across metadata instances.

getTagsStringCache

public com.trendmicro.grid.acl.commons.collections.StringCache getTagsStringCache()
Returns a shared string cache that is used to share tag strings across instances.

Returns:
a shared string cache that is used to share tag strings across instances.