01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.msg;
06:
07: import com.tc.bytes.TCByteBuffer;
08: import com.tc.exception.ImplementMe;
09: import com.tc.object.tx.TransactionBatch;
10:
11: public class TestTransactionBatch implements TransactionBatch {
12:
13: private final TCByteBuffer[] batchData;
14:
15: public TestTransactionBatch(TCByteBuffer[] batchData) {
16: this .batchData = batchData;
17: }
18:
19: public boolean isEmpty() {
20: throw new ImplementMe();
21: }
22:
23: public TCByteBuffer[] getData() {
24: return batchData;
25: }
26:
27: public void recycle() {
28: return;
29: }
30:
31: }
|