|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ChannelCacheKey
public class ChannelCacheKey
A general channel cache key class. The class includes the key iteslf, as well as key properties.
| Field Summary | |
|---|---|
static int |
INSTANCE_KEY_SCOPE
Specifies that the cache is specific to the instance of the channel that generated it. |
(package private) java.lang.String |
key
|
(package private) int |
keyScope
|
(package private) java.lang.Object |
keyValidity
|
static int |
SYSTEM_KEY_SCOPE
Specifies that the cache is accessable by all instances of that channel class. |
| Constructor Summary | |
|---|---|
ChannelCacheKey()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Returns a key uniqly describing the channel state. |
int |
getKeyScope()
Returns a specification of the scope in which the cache to be used. |
java.lang.Object |
getKeyValidity()
Returns an object that can be used by the channel to verify cache validity. |
void |
setKey(java.lang.String key)
|
void |
setKeyScope(int scope)
|
void |
setKeyValidity(java.lang.Object validity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INSTANCE_KEY_SCOPE
public static final int SYSTEM_KEY_SCOPE
java.lang.String key
int keyScope
java.lang.Object keyValidity
| Constructor Detail |
|---|
public ChannelCacheKey()
| Method Detail |
|---|
public void setKey(java.lang.String key)
public java.lang.String getKey()
public void setKeyScope(int scope)
public int getKeyScope()
public void setKeyValidity(java.lang.Object validity)
public java.lang.Object getKeyValidity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||