Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.util
Class Daemon.DaemonWorker

java.lang.Object
  extended by com.tangosol.util.Daemon.DaemonWorker

All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Daemon

public class Daemon.DaemonWorker
extends java.lang.Object
implements java.lang.Runnable

The sub-class of Thread that this Daemon uses as the actual thread of execution.


Constructor Summary
Daemon.DaemonWorker()
           

 

Method Summary
protected  Daemon getDaemon()
           
protected  java.lang.Thread getThread()
           
protected  boolean isCurrentThread()
           
protected  boolean isStopping()
           
protected  void notifyStopping()
           
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
protected  void setThread(java.lang.Thread thread)
           

 

Constructor Detail

Daemon.DaemonWorker

public Daemon.DaemonWorker()

Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface java.lang.Runnable
See Also:
Thread.run()

getDaemon

protected Daemon getDaemon()

notifyStopping

protected void notifyStopping()

isStopping

protected boolean isStopping()

setThread

protected void setThread(java.lang.Thread thread)

getThread

protected java.lang.Thread getThread()

isCurrentThread

protected boolean isCurrentThread()

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.