Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.servlet
Class ExitTask

java.lang.Object
  extended by com.tangosol.coherence.servlet.ExitTask

All Implemented Interfaces:
Invocable, java.io.Serializable, java.lang.Runnable

Deprecated. In releases following 3.6 customization will be declarative.

public class ExitTask
extends java.lang.Object
implements Invocable

This task is used to unlock a session ID.


Constructor Summary
ExitTask(java.lang.String sId, AbstractHttpSessionCollection collection)
          Deprecated. Construct an ExitTask to unlock a specific session.

 

Method Summary
 java.lang.Object getResult()
          Deprecated. Obtain the result of executing this ExitTask.
 void init(InvocationService service)
          Deprecated. Called by the InvocationService exactly once on this Invocable object as part of its initialization.
 void run()
          Deprecated. This method attempts to unlock the session ID associated with this ExitTask.
 void setCollection(AbstractHttpSessionCollection collection)
          Deprecated.  

 

Constructor Detail

ExitTask

public ExitTask(java.lang.String sId,
                AbstractHttpSessionCollection collection)
Deprecated. 
Construct an ExitTask to unlock a specific session.
Parameters:
sId - the id of the session that needs to be unlocked

Method Detail

init

public void init(InvocationService service)
Deprecated. 
Called by the InvocationService exactly once on this Invocable object as part of its initialization.

Note: implementations of the Invocable interface that store the service reference must do so only in a transient field.

Specified by:
init in interface Invocable
Parameters:
service - the containing InvocationService

setCollection

public void setCollection(AbstractHttpSessionCollection collection)
Deprecated. 

getResult

public java.lang.Object getResult()
Deprecated. 
Obtain the result of executing this ExitTask.
Specified by:
getResult in interface Invocable
Returns:
true if the session is/was stuck here and is now released or is marked to be released

run

public void run()
Deprecated. 
This method attempts to unlock the session ID associated with this ExitTask.
Specified by:
run in interface Invocable
Specified by:
run in interface java.lang.Runnable

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.