org.glassfish.pfl.tf.timer.spi
Class NamedBase

java.lang.Object
  extended by org.glassfish.pfl.tf.timer.spi.NamedBase
All Implemented Interfaces:
Named
Direct Known Subclasses:
LogEventHandlerImpl, NamedBaseImpl, StatsEventHandlerBase, TimerEventControllerBase, TimerFactoryImpl.TracingEventHandler

public abstract class NamedBase
extends Object
implements Named


Constructor Summary
protected NamedBase(TimerFactory factory, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 TimerFactory factory()
          Return the TimerFactory that created this Named.
 int hashCode()
           
 String name()
          A short name for this Controllable.
protected  void setFactory(TimerFactory factory)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedBase

protected NamedBase(TimerFactory factory,
                    String name)
Method Detail

setFactory

protected void setFactory(TimerFactory factory)

factory

public TimerFactory factory()
Description copied from interface: Named
Return the TimerFactory that created this Named.

Specified by:
factory in interface Named

name

public String name()
Description copied from interface: Named
A short name for this Controllable.

Specified by:
name in interface Named

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Oracle. All Rights Reserved.