|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.net.AbstractInvocable
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.ExitAgent
public static class AbstractHttpSessionCollection.ExitAgent
This agent is used to request the other servers in the cluster to unlock the specified session ID.
Note: This must be a static class, for serialization purposes. Were it not static, it would "drag" the entire session collection with it across the cluster.
| Field Summary |
|---|
| Fields inherited from interface com.tangosol.net.PriorityTask |
|---|
SCHEDULE_FIRST, SCHEDULE_IMMEDIATE, SCHEDULE_STANDARD, TIMEOUT_DEFAULT, TIMEOUT_NONE |
| Constructor Summary | |
|---|---|
AbstractHttpSessionCollection.ExitAgent()
Default constructor. |
|
AbstractHttpSessionCollection.ExitAgent(java.lang.String sId)
Construct an ExitAgent to unlock a specific session. |
|
| Method Summary | |
|---|---|
void |
readExternal(java.io.DataInput in)
Restore the contents of this object by loading the object's state from the passed DataInput object. |
void |
run()
This method is invoked when the agent is run on the various servers in the cluster. |
void |
writeExternal(java.io.DataOutput out)
Save the contents of this object by storing the object's state into the passed DataOutput object. |
| Methods inherited from class com.tangosol.net.AbstractInvocable |
|---|
getExecutionTimeoutMillis, getRequestTimeoutMillis, getResult, getSchedulingPriority, getService, init, isRespondInOrder, runCanceled, setResult |
| Constructor Detail |
|---|
public AbstractHttpSessionCollection.ExitAgent()
public AbstractHttpSessionCollection.ExitAgent(java.lang.String sId)
sId - the id of the session that needs to be unlocked| Method Detail |
|---|
public void run()
run in interface Invocablerun in interface java.lang.Runnable
public void readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore
the state of this object
java.io.IOException - if an I/O exception occurs
java.io.NotActiveException - if the object is not in its initial
state, and therefore cannot be deserialized into
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object to
java.io.IOException - if an I/O exception occurs
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||