1 7 package org.jboss.cache; 8 9 10 import org.jboss.cache.optimistic.TransactionWorkspace; 11 import org.jboss.cache.optimistic.TransactionWorkspaceImpl; 12 13 20 21 public class OptimisticTransactionEntry extends TransactionEntry{ 22 23 private TransactionWorkspace transactionWorkSpace = new TransactionWorkspaceImpl(); 24 25 public OptimisticTransactionEntry() { 26 } 27 28 public String toString() { 29 StringBuffer sb = new StringBuffer (super.toString()); 30 sb.append("\nworkspace: ").append(transactionWorkSpace); 31 return sb.toString(); 32 } 33 34 37 public TransactionWorkspace getTransactionWorkSpace() { 38 return transactionWorkSpace; 39 } 40 41 44 public void setTransactionWorkSpace( 45 TransactionWorkspace transactionWorkSpace) { 46 this.transactionWorkSpace = transactionWorkSpace; 47 } 48 49 } 50 | Popular Tags |