KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > tx > TxnBatchID


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.tx;
5
6 import com.tc.util.AbstractIdentifier;
7
8 /**
9  * Transaction batch identifier
10  */

11 public class TxnBatchID extends AbstractIdentifier {
12
13   public static final TxnBatchID NULL_BATCH_ID = new TxnBatchID();
14
15   private TxnBatchID() {
16     super();
17   }
18   
19   public TxnBatchID(long batchID) {
20     super(batchID);
21   }
22
23   public String JavaDoc getIdentifierType() {
24     return "TxnBatchID";
25   }
26
27 }
28
Popular Tags