net.sf.ehcache.distribution.jgroups
Class ThreadNamingRunnable
java.lang.Object
net.sf.ehcache.distribution.jgroups.ThreadNamingRunnable
- All Implemented Interfaces:
- Runnable
public abstract class ThreadNamingRunnable
- extends Object
- implements Runnable
Basic Runnable that sets the name of the thread doing the execution
- Author:
- Eric Dalquist
|
Field Summary |
protected String |
threadNameSuffix
The suffix that will be appended to the thread name when the runnable is executing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadNameSuffix
protected final String threadNameSuffix
- The suffix that will be appended to the thread name when the runnable is executing
ThreadNamingRunnable
public ThreadNamingRunnable(String threadNameSuffix)
- Create new ThreadNamingRunnable with the specified suffix
run
public final void run()
-
- Specified by:
run in interface Runnable
runInternal
public abstract void runInternal()
- See Also:
Runnable.run()
Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.