CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.coherence.commonj
Class WorkManager.CollectMembershipInfo

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

protected static class WorkManager.CollectMembershipInfo
extends AbstractInvocable

Invocable task used during handshake, which has to be scheduled immediately.


Field Summary
 
Fields inherited from interface com.tangosol.net.PriorityTask
SCHEDULE_FIRST, SCHEDULE_IMMEDIATE, SCHEDULE_STANDARD, TIMEOUT_DEFAULT, TIMEOUT_NONE
 
Constructor Summary
WorkManager.CollectMembershipInfo(Member memberServer)
          Construct the task for a given member server (could be null for a client).
 
Method Summary
 int getSchedulingPriority()
          Obtain this task's scheduling priority. Valid values are one of the SCHEDULE_* constants.
 void run()
          Called exactly once by the InvocationService to invoke this Invocable object.
 
Methods inherited from class com.tangosol.net.AbstractInvocable
getExecutionTimeoutMillis, getRequestTimeoutMillis, getResult, getService, init, isRespondInOrder, runCanceled, setResult
 

Constructor Detail

WorkManager.CollectMembershipInfo

public WorkManager.CollectMembershipInfo(Member memberServer)
Construct the task for a given member server (could be null for a client).

Method Detail

getSchedulingPriority

public int getSchedulingPriority()
Obtain this task's scheduling priority. Valid values are one of the SCHEDULE_* constants.

This implementation returns SCHEDULE_STANDARD.

Specified by:
getSchedulingPriority in interface PriorityTask
Overrides:
getSchedulingPriority in class AbstractInvocable
Returns:
this task's scheduling priority

run

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


CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation