| | |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | import java.util.Map; |
| | | import java.util.LinkedHashMap; |
| | | |
| | | |
| | | /** |
| | |
| | | { |
| | | this.task = task; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Retrieves any relevent debug information with which this tread is |
| | | * associated so they can be included in debug messages. |
| | | * |
| | | * @return debug information about this thread as a string. |
| | | */ |
| | | public Map<String, String> getDebugProperties() |
| | | { |
| | | LinkedHashMap<String, String> properties = |
| | | new LinkedHashMap<String, String>(); |
| | | |
| | | properties.put("parentThread", parentThread.getName() + |
| | | "(" + parentThread.getId() + ")"); |
| | | properties.put("isDaemon", String.valueOf(this.isDaemon())); |
| | | |
| | | return properties; |
| | | } |
| | | } |
| | | |