public abstract class RequestableObjectManagerDelegate
extends java.lang.Object
Constructor and Description |
---|
RequestableObjectManagerDelegate(IParticipant participant) |
RequestableObjectManagerDelegate(IParticipant participant,
int requestMore) |
Modifier and Type | Method and Description |
---|---|
void |
addFreeIdentifiers(java.util.Collection<IIdentifier> freeIdentifiers)
When a new block of identifiers is made available from CR, they are added
to the object manager
|
protected abstract java.util.Collection<? extends IIdentifier> |
createTemplates(java.lang.Object key)
create a bunch of template identifiers to be requested from CR
|
IIdentifier |
getFreeIdentifier(java.lang.Object key)
get a free identifier that is keyed on key.
|
protected abstract java.lang.Object |
getKey(IIdentifier freeIdentifier)
return the key that this free identifier should be stored under.
|
protected java.util.List<IIdentifier> |
getKeyedCollection(java.lang.Object key)
get the list that houses the cached identifiers for key.
|
void |
request(java.lang.Object key) |
public RequestableObjectManagerDelegate(IParticipant participant)
public RequestableObjectManagerDelegate(IParticipant participant, int requestMore)
public final IIdentifier getFreeIdentifier(java.lang.Object key)
key
- public final void request(java.lang.Object key)
protected final java.util.List<IIdentifier> getKeyedCollection(java.lang.Object key)
key
- public final void addFreeIdentifiers(java.util.Collection<IIdentifier> freeIdentifiers)
freeIdentifiers
- protected abstract java.lang.Object getKey(IIdentifier freeIdentifier)
freeIdentifier
- protected abstract java.util.Collection<? extends IIdentifier> createTemplates(java.lang.Object key)
key
-