public static class TransactionCache.TransactionIndices<V extends BasicTransaction> extends Object
Created by Jeff Gaynor
on Nov 22, 2010 at 11:51:33 AM
Constructor and Description |
---|
TransactionIndices() |
Modifier and Type | Method and Description |
---|---|
void |
add(V t) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Identifier,V>> |
entrySet() |
V |
get(AccessToken accessToken) |
V |
get(AuthorizationGrant authorizationGrant) |
V |
get(Identifier identifier) |
V |
get(Verifier verifier) |
protected HashMap<String,Identifier> |
getAccessTokenIndex() |
protected HashMap<String,Identifier> |
getAuthorizationGrantIndex() |
HashMap<Identifier,V> |
getCreatedTransactions()
A list of transactions that have been created but not saved.
|
protected Map<Identifier,V> |
getTransactions() |
protected HashMap<String,Identifier> |
getVerifierIndex() |
boolean |
isEmpty() |
Set<Identifier> |
keySet() |
V |
put(Identifier key,
V value) |
void |
putAll(Map<? extends String,? extends BasicTransaction> m) |
V |
remove(Object key) |
void |
remove(V t) |
protected void |
removeFromIndices(BasicTransaction t) |
int |
size() |
protected void |
updateIndices(BasicTransaction t) |
Collection<V> |
values() |
public HashMap<Identifier,V> getCreatedTransactions()
public void add(V t)
public void remove(V t)
protected Map<Identifier,V> getTransactions()
public V get(Identifier identifier)
public V get(AuthorizationGrant authorizationGrant)
public V get(AccessToken accessToken)
public void clear()
public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public V put(Identifier key, V value)
public void putAll(Map<? extends String,? extends BasicTransaction> m)
public Set<Identifier> keySet()
public Collection<V> values()
public Set<Map.Entry<Identifier,V>> entrySet()
protected HashMap<String,Identifier> getAuthorizationGrantIndex()
protected HashMap<String,Identifier> getVerifierIndex()
protected HashMap<String,Identifier> getAccessTokenIndex()
protected void updateIndices(BasicTransaction t)
protected void removeFromIndices(BasicTransaction t)
Copyright © 2019. All Rights Reserved.