public class SuspendedFiberStorage extends TimestampedCollection<String,com.sun.xml.ws.api.pipe.Fiber>
| Constructor and Description |
|---|
SuspendedFiberStorage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
register(long timestamp,
com.sun.xml.ws.api.pipe.Fiber subject)
Creates a new
subject registration. |
com.sun.xml.ws.api.pipe.Fiber |
register(String correlationId,
com.sun.xml.ws.api.pipe.Fiber subject)
Registers a
subject and maps it to a given correlationId. |
void |
resumeAllFibers(Throwable error) |
void |
resumeFiber(String correlationId,
com.sun.xml.ws.api.message.Packet response) |
void |
resumeFiber(String correlationId,
Throwable error) |
getOldestRegistrationTimestamp, isEmpty, newInstance, register, remove, removeAll, removeOldest, sizepublic com.sun.xml.ws.api.pipe.Fiber register(String correlationId, com.sun.xml.ws.api.pipe.Fiber subject)
TimestampedCollectionsubject and maps it to a given correlationId.
The newly created registration is timestamped which allows for later removal
based on the age of registration using TimestampedCollection.removeOldest() method.register in class TimestampedCollection<String,com.sun.xml.ws.api.pipe.Fiber>correlationId - correlation identifier to be associated with a given subjectsubject - a primary registration objectsubject associated with a given correlationId
or null if there's no such subjectTimestampedCollection.remove(java.lang.Object),
TimestampedCollection.removeOldest()public boolean register(long timestamp,
com.sun.xml.ws.api.pipe.Fiber subject)
TimestampedCollectionsubject registration. The newly created registration
is timestamped using a value of the timestamp parameter which allows
for later removal based on the age of registration using TimestampedCollection.removeOldest()
method.register in class TimestampedCollection<String,com.sun.xml.ws.api.pipe.Fiber>timestamp - a timestamp to be used for the registrationsubject - a primary registration subjecttrue if the registration was successfull, false otherwiseTimestampedCollection.removeOldest()public void resumeFiber(String correlationId, com.sun.xml.ws.api.message.Packet response) throws ResumeFiberException
ResumeFiberExceptionpublic void resumeFiber(String correlationId, Throwable error) throws ResumeFiberException
ResumeFiberExceptionpublic void resumeAllFibers(Throwable error)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.