EhcacheConstraint (Quartz Parent POM 2.0.1 API)

Quartz Java



org.quartz.locality.constraint Class EhcacheConstraint

java.lang.Object
  extended by org.quartz.locality.constraint.EhcacheConstraint
All Implemented Interfaces:
Serializable, Constraint<EhcacheConstraint.Operator,EhcacheConstraint.Value>

public class EhcacheConstraint
extends Object
implements Constraint<EhcacheConstraint.Operator,EhcacheConstraint.Value>

Constraints related the locality of Ehcache values

Author:
Alex Snaps
See Also:
EhcacheEvaluator, Serialized Form

Nested Class Summary
static class EhcacheConstraint.Operator
           
static class EhcacheConstraint.Value
           
 
Constructor Summary
EhcacheConstraint(EhcacheConstraint.Operator operator, EhcacheConstraint.Value value)
          Constructor

The Cache needs to be alive and clustered using Terracotta in Serialization mode

 
Method Summary
static EhcacheConstraint elements(Cache cache, Collection keys)
          Creates a EhcacheConstraint for local values to a Set of keys
 String getCacheManagerName()
          Gets the CacheManager name for the Cache
 String getCacheName()
          Gets the Cache name
 Set getKeys()
          Accessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheConstraint

public EhcacheConstraint(EhcacheConstraint.Operator operator,
                         EhcacheConstraint.Value value)
Constructor

The Cache needs to be alive and clustered using Terracotta in Serialization mode

Method Detail

elements

public static EhcacheConstraint elements(Cache cache,
                                         Collection keys)
Creates a EhcacheConstraint for local values to a Set of keys

Parameters:
cache - The cache
keys - The keys we want local
Returns:
The actual EhcacheConstraint

getKeys

public Set getKeys()
Accessor

Returns:
the Set of keys we want local

getCacheManagerName

public String getCacheManagerName()
Gets the CacheManager name for the Cache

Returns:
CacheManager name

getCacheName

public String getCacheName()
Gets the Cache name

Returns:
Cache name


Copyright 2001-2011, Terracotta, Inc.