accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1396778 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletMutations.java
Date Wed, 10 Oct 2012 20:33:54 GMT
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



Mime
View raw message