Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.coherence.servlet
Class AbstractHttpSessionCollection.ExitTask

    java.lang.Object
      com.tangosol.coherence.servlet.AbstractHttpSessionCollection.ExitTask

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

Enclosing class:
  AbstractHttpSessionCollection

    public static class AbstractHttpSessionCollection.ExitTask

extends java.lang.Object
implements Invocable

This task is used to unlock a session ID.

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

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

Constructor Detail

### AbstractHttpSessionCollection.ExitTask

    public AbstractHttpSessionCollection.ExitTask(java.lang.String sId)

  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)

  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

### getResult

    public java.lang.Object getResult()

  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()

  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`

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.