|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--context.arch.service.helper.PendingOut
This class maintains a list of pending service requests, kept by the service handling the requests.
Service
, Serialized FormConstructor Summary | |
PendingOut()
Basic empty constructor |
Method Summary | |
void |
addPending(ServiceInput input)
Adds the given ServiceInput object to the pending container. |
ServiceInput |
getPending(java.lang.String id)
This method returns the ServiceInput with the given request id from this list of pending ServiceInput objects. |
boolean |
isPending(java.lang.String id)
Determines whether the given ServiceInput object is in the pending container |
int |
numPending()
Returns the number of ServiceInput objects pending in the container return the number of ServiceInput objects pending in the container |
void |
removePending(java.lang.String id)
Removes the given ServiceInput object is in the pending container |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
rehash,
remove,
size,
toString,
values |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public PendingOut()
Method Detail |
public void addPending(ServiceInput input)
input
- ServiceInput to make pendingpublic boolean isPending(java.lang.String id)
id
- Request id to look forpublic void removePending(java.lang.String id)
id
- Request id of ServiceInput object to removepublic int numPending()
public ServiceInput getPending(java.lang.String id)
id
- Request id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |