|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.quartz.locality.constraint Class EhcacheConstraint
java.lang.Object 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
|
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 cachekeys
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2001-2011, Terracotta, Inc.