Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database
Class SearchClusterTask

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

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

Coherence cluster task that updates search indexes across cluster members.

See Also:
Serialized Form

Constructor Summary
SearchClusterTask()
           
 
Method Summary
 DbForum getForum()
           
 DbForumMessage getMessage()
           
 java.lang.Object getResult()
          This task has nothing to report so we just return null
 DbForumThread getThread()
           
 void init(com.tangosol.net.InvocationService service)
          Called by the InvocationService exactly once on this Invocable object as part of its initialization.
 boolean isAdd()
           
 boolean isDelete()
           
 boolean isRebuild()
           
 boolean isUpdate()
           
 void run()
          Executes the task
 void setAdd(boolean add)
           
 void setDelete(boolean delete)
           
 void setForum(DbForum forum)
           
 void setMessage(DbForumMessage message)
           
 void setRebuild(boolean rebuild)
           
 void setThread(DbForumThread thread)
           
 void setUpdate(boolean update)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchClusterTask

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

getMessage

public DbForumMessage getMessage()

setMessage

public void setMessage(DbForumMessage message)

getThread

public DbForumThread getThread()

setThread

public void setThread(DbForumThread thread)

getForum

public DbForum getForum()

setForum

public void setForum(DbForum forum)

isAdd

public boolean isAdd()

setAdd

public void setAdd(boolean add)

isUpdate

public boolean isUpdate()

setUpdate

public void setUpdate(boolean update)

isDelete

public boolean isDelete()

setDelete

public void setDelete(boolean delete)

isRebuild

public boolean isRebuild()

setRebuild

public void setRebuild(boolean rebuild)

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.