Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.database
Class PollOptionMoveClusterTask

java.lang.Object
  extended by com.jivesoftware.base.database.PollOptionMoveClusterTask
All Implemented Interfaces:
com.tangosol.net.Invocable, java.io.Serializable, java.lang.Runnable

public class PollOptionMoveClusterTask
extends java.lang.Object
implements com.tangosol.net.Invocable

Coherence cluster task that updates the insert queue across cluster members whenever a poll option is moved.

See Also:
Serialized Form

Constructor Summary
PollOptionMoveClusterTask()
           
 
Method Summary
 java.lang.Object getResult()
          This task has nothing to report so we just return null
 void init(com.tangosol.net.InvocationService service)
          Called by the InvocationService exactly once on this Invocable object as part of its initialization.
 void run()
          Executes the task
 void setNewIndex(int newIndex)
           
 void setOldIndex(int oldIndex)
           
 void setPollID(long pollID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollOptionMoveClusterTask

public PollOptionMoveClusterTask()
Method Detail

init

public void init(com.tangosol.net.InvocationService service)
Called by the InvocationService exactly once on this Invocable object as part of its initialization.

Specified by:
init in interface com.tangosol.net.Invocable

setPollID

public void setPollID(long pollID)

setOldIndex

public void setOldIndex(int oldIndex)

setNewIndex

public void setNewIndex(int newIndex)

run

public void run()
Executes the task

Specified by:
run in interface com.tangosol.net.Invocable
Specified by:
run in interface java.lang.Runnable

getResult

public java.lang.Object getResult()
This task has nothing to report so we just return null

Specified by:
getResult in interface com.tangosol.net.Invocable

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.