org.jboss.metadata.plugins.cache
Class TimedCachePolicyFactory

java.lang.Object
  extended by org.jboss.metadata.plugins.cache.TimedCachePolicyFactory
All Implemented Interfaces:
CachePolicyFactory

public class TimedCachePolicyFactory
extends Object
implements CachePolicyFactory

Timed cache policy factory.

Author:
Ales Justin

Constructor Summary
TimedCachePolicyFactory()
           
TimedCachePolicyFactory(int defaultLifetime)
           
TimedCachePolicyFactory(int defaultLifetime, boolean threadSafe, int resolution)
           
 
Method Summary
 org.jboss.util.CachePolicy createCachePolicy()
          Create cache policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedCachePolicyFactory

public TimedCachePolicyFactory()

TimedCachePolicyFactory

public TimedCachePolicyFactory(int defaultLifetime)

TimedCachePolicyFactory

public TimedCachePolicyFactory(int defaultLifetime,
                               boolean threadSafe,
                               int resolution)
Method Detail

createCachePolicy

public org.jboss.util.CachePolicy createCachePolicy()
Description copied from interface: CachePolicyFactory
Create cache policy.

Specified by:
createCachePolicy in interface CachePolicyFactory
Returns:
the cache policy


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