com.sun.sgs.impl.util
Class AbstractKernelRunnable
java.lang.Object
com.sun.sgs.impl.util.AbstractKernelRunnable
- All Implemented Interfaces:
- KernelRunnable
- Direct Known Subclasses:
- KernelCallable, NodeMappingServerImpl.GetIdTask
public abstract class AbstractKernelRunnable
- extends Object
- implements KernelRunnable
A utility class that implements the getBaseTaskType method
of KernelRunnable to return the class name of the concrete
instance.
AbstractKernelRunnable
public AbstractKernelRunnable(String name)
- Constructs an instance with the specified
name. If the
name is non-null, then it is included in the
toString method to identify the instance.
- Parameters:
name - a name for the instance
getBaseTaskType
public String getBaseTaskType()
- Returns the class name of the concrete instance.
- Specified by:
getBaseTaskType in interface KernelRunnable
- Returns:
- the class name of the concrete instance
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved