public class InMemoryConsumerAssociationStore extends java.lang.Object implements ConsumerAssociationStore
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
_log |
private java.util.Map |
_opMap |
private static boolean |
DEBUG |
| Constructor and Description |
|---|
InMemoryConsumerAssociationStore() |
| Modifier and Type | Method and Description |
|---|---|
Association |
load(java.lang.String opUrl) |
Association |
load(java.lang.String opUrl,
java.lang.String handle) |
void |
remove(java.lang.String opUrl,
java.lang.String handle) |
private void |
removeExpired() |
void |
save(java.lang.String opUrl,
Association association) |
protected int |
size() |
private static org.apache.commons.logging.Log _log
private static final boolean DEBUG
private java.util.Map _opMap
public void save(java.lang.String opUrl,
Association association)
save in interface ConsumerAssociationStorepublic Association load(java.lang.String opUrl, java.lang.String handle)
load in interface ConsumerAssociationStorepublic Association load(java.lang.String opUrl)
load in interface ConsumerAssociationStorepublic void remove(java.lang.String opUrl,
java.lang.String handle)
remove in interface ConsumerAssociationStoreprivate void removeExpired()
protected int size()
Copyright 2006-2008 Sxip Identity Corporation