JXTA

net.jxta.impl.util
Class TimerThreadNamer

java.lang.Object
  extended by java.util.TimerTask
      extended by net.jxta.impl.util.TimerThreadNamer
All Implemented Interfaces:
Runnable

Deprecated. Beginning with JSE 5.0 you may now name a Timer directly.

Note that this implementation assumes the Timer implemntation found in Sun JDK 1.2-1.5 (and possibly later) in that there is a single thread attached to each Timer object.

@Deprecated
public class TimerThreadNamer
extends TimerTask

A simple timer task who's sole purpose is to name the Thread on which timer tasks are running. You normally use it by :


  Timer timer = new Timer();
  timer.schedule( new TimerThreadNamer( "name for timer" ), 0 );
 


Constructor Summary
TimerThreadNamer(String useName)
          Deprecated. Construct a Timer Thread Namer object
 
Method Summary
 void run()
          Deprecated. 
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerThreadNamer

public TimerThreadNamer(String useName)
Deprecated. 
Construct a Timer Thread Namer object

Parameters:
useName - The name which the timer thread will be given.
Method Detail

run

public void run()
Deprecated. 

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

JXSE