Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.database
Class VoteChangeClusterTask

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

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

Coherence cluster task that updates the insert queue across cluster members whenever a vote is changed.

See Also:
Serialized Form

Constructor Summary
VoteChangeClusterTask()
           
 
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 setOldVote(Vote oldVote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteChangeClusterTask

public VoteChangeClusterTask()
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

setOldVote

public void setOldVote(Vote oldVote)

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.