Oracle® Coherence Java API Reference
v3.5

E14977-01

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, PortableObject, 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, readExternal, writeExternal, 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.

Parameters:
lWorkId - the Work id
nMemberId - the Member id
Method Detail

run

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


Oracle® Coherence Java API Reference
v3.5

E14977-01

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