Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net
Class RefreshableAddressProvider.RefreshThread

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.Daemon
          extended by com.tangosol.net.RefreshableAddressProvider.RefreshThread

All Implemented Interfaces:
Guardable, java.lang.Runnable
Enclosing class:
RefreshableAddressProvider

protected class RefreshableAddressProvider.RefreshThread
extends Daemon

Nested Class Summary

 

Nested classes/interfaces inherited from class com.tangosol.util.Daemon
Daemon.DaemonWorker

 

Field Summary
protected  long f_lRefresh
          The interval with which to attempt to refresh the address list.

 

Constructor Summary
protected RefreshableAddressProvider.RefreshThread(long lRefresh)
          Construct a new RefreshThread with the specified refresh interval.

 

Method Summary
 void run()
          The daemon's implementation method.

 

Methods inherited from class com.tangosol.util.Daemon
changeState, configureWorker, ensureThreadGroup, finishStarting, finishStopping, getConfiguredName, getConfiguredPriority, getContext, getDescription, getGuardRegisterAction, getMaxWaitMillis, getState, getThread, getThreadContextClassLoader, getWorker, guardIfNeeded, heartbeat, heartbeat, instantiateWorker, isGuarded, isOnWorkerThread, isRunning, isStopping, recover, setConfiguredName, setConfiguredPriority, setContext, setGuardPolicy, setGuardRegisterAction, setThreadContextClassLoader, shutdown, start, stop, terminate, toStateString, toString

 

Field Detail

f_lRefresh

protected final long f_lRefresh
The interval with which to attempt to refresh the address list.

Constructor Detail

RefreshableAddressProvider.RefreshThread

protected RefreshableAddressProvider.RefreshThread(long lRefresh)
Construct a new RefreshThread with the specified refresh interval.
Parameters:
lRefresh - the refresh interval

Method Detail

run

public void run()
The daemon's implementation method. Override this method to implement a daemon.

An example implementation is:

   while (!isStopping())
       {
       // do some processing
       // ...

       synchronized (this)
           {
           // wait for notification of more work
           wait();
           }
       }
 
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class Daemon

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


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