Author: ecn
Date: Wed Oct 10 20:33:54 2012
New Revision: 1396778

URL: http://svn.apache.org/viewvc?rev=1396778&view=rev
Log:
ACCUMULO-786: squeeze bytes out of the serialized form of Mutation

Added:
    
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
   (with props)

Added: 
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
URL: 
http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java?rev=1396778&view=auto
==============================================================================
--- 
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
 (added)
+++ 
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
 Wed Oct 10 20:33:54 2012
@@ -0,0 +1,31 @@
+package org.apache.accumulo.server.tabletserver;
+
+import java.util.List;
+
+import org.apache.accumulo.core.data.Mutation;
+
+public class TabletMutations {
+  private final int tid; 
+  private final int seq; 
+  private final List<Mutation> mutations;
+
+  public TabletMutations(int tid, int seq, List<Mutation> mutations) {
+    this.tid = tid;
+    this.seq = seq;
+    this.mutations = mutations;
+  }
+
+  public List<Mutation> getMutations() {
+    return mutations;
+  }
+
+  public int getTid() {
+    return tid;
+  }
+  public int getSeq() {
+    return seq;
+  }
+  
+  
+  
+}

Propchange: 
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to