CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation

com.tangosol.coherence.commonj
Class WorkManager.ReleaseWork

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.AbstractInvocable
          extended by com.tangosol.coherence.commonj.WorkManager.AbstractWork
              extended by com.tangosol.coherence.commonj.WorkManager.ReleaseWork
All Implemented Interfaces:
ExternalizableLite, Invocable, InvocableInOrder, PriorityTask, java.io.Serializable, java.lang.Runnable
Enclosing class:
WorkManager

protected static class WorkManager.ReleaseWork
extends WorkManager.AbstractWork

Invocable task that forces a release for a wrapped Work object.


Field Summary
 
Fields inherited from class com.tangosol.coherence.commonj.WorkManager.AbstractWork
m_lWorkId, m_nMemberId
 
Fields inherited from interface com.tangosol.net.PriorityTask
SCHEDULE_FIRST, SCHEDULE_IMMEDIATE, SCHEDULE_STANDARD, TIMEOUT_DEFAULT, TIMEOUT_NONE
 
Constructor Summary
WorkManager.ReleaseWork()
          Default constructor (necessary for a lite serialization).
WorkManager.ReleaseWork(long lWorkId, int nMemberId)
          Construct the ReleaseWork for a given Work.
 
Method Summary
 void run()
          Called exactly once by the InvocationService to invoke this Invocable object.
 
Methods inherited from class com.tangosol.coherence.commonj.WorkManager.AbstractWork
getMember, getMemberId, getSchedulingPriority, getWorkId, readExternal, writeExternal
 
Methods inherited from class com.tangosol.net.AbstractInvocable
getExecutionTimeoutMillis, getRequestTimeoutMillis, getResult, getService, init, isRespondInOrder, runCanceled, setResult
 

Constructor Detail

WorkManager.ReleaseWork

public WorkManager.ReleaseWork()
Default constructor (necessary for a lite serialization).


WorkManager.ReleaseWork

public WorkManager.ReleaseWork(long lWorkId,
                               int nMemberId)
Construct the ReleaseWork for a given Work.

Method Detail

run

public void run()
Called exactly once by the InvocationService to invoke this Invocable object.


CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation