Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.coherence.commonj
Class WorkManager.RequestStatus

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.RequestStatus
All Implemented Interfaces:
ExternalizableLite, PortableObject, Invocable, InvocableInOrder, PriorityTask, java.io.Serializable, java.lang.Runnable
Enclosing class:
WorkManager

protected static class WorkManager.RequestStatus
extends WorkManager.AbstractWork

Invocable task that requests a status for a given Work.


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.RequestStatus()
          Default constructor (necessary for a lite serialization).
WorkManager.RequestStatus(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.RequestStatus

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


WorkManager.RequestStatus

public WorkManager.RequestStatus(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.