KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > lockmanager > api > ThreadID


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.lockmanager.api;
5
6 import com.tc.util.AbstractIdentifier;
7
8 public class ThreadID extends AbstractIdentifier {
9
10   public static final ThreadID NULL_ID = new ThreadID();
11   public static final ThreadID VM_ID = new ThreadID(Long.MIN_VALUE);
12   
13   public ThreadID(long id) {
14     super(id);
15   }
16
17   private ThreadID() {
18     super();
19   }
20
21   public String JavaDoc getIdentifierType() {
22     return "ThreadID";
23   }
24
25 }
26
Popular Tags