net.sourceforge.basher.events
Class ThreadRemovedEvent
java.lang.Object
java.util.EventObject
net.sourceforge.basher.events.BasherEvent
net.sourceforge.basher.events.ThreadRemovedEvent
- All Implemented Interfaces:
- Serializable
public class ThreadRemovedEvent
- extends BasherEvent
- Version:
- $Revision$
- Author:
- Johan Lindquist
- See Also:
- Serialized Form
ThreadRemovedEvent
public ThreadRemovedEvent(String name,
int currentNumberThreads)
getName
public String getName()
- Returns the name of the thread to stop
- Returns:
- The name of the thread which should be stopped.
getCurrentNumberThreads
public int getCurrentNumberThreads()
- Retrieves the current number of threads running after the new thread was removed
- Returns:
- The number of threads now running
toString
public String toString()
- Overrides:
toString
in class BasherEvent
equals
public boolean equals(Object o)
- Overrides:
equals
in class BasherEvent
hashCode
public int hashCode()
- Overrides:
hashCode
in class BasherEvent
Copyright © 2006-2010 Basher Team. All Rights Reserved.