voldemort.store.slop
Class Slop

java.lang.Object
  extended by voldemort.store.slop.Slop

public class Slop
extends java.lang.Object

Represents an undelivered operation to a store.


Nested Class Summary
static class Slop.Operation
           
 
Constructor Summary
Slop(java.lang.String storeName, Slop.Operation operation, byte[] key, byte[] value, int nodeId, java.util.Date arrived)
           
Slop(java.lang.String storeName, Slop.Operation operation, ByteArray key, byte[] value, byte[] transforms, int nodeId, java.util.Date arrived)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getArrived()
           
 ByteArray getKey()
           
 int getNodeId()
           
 Slop.Operation getOperation()
           
 java.lang.String getStoreName()
           
 byte[] getTransforms()
           
 byte[] getValue()
           
 int hashCode()
           
 ByteArray makeKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slop

public Slop(java.lang.String storeName,
            Slop.Operation operation,
            byte[] key,
            byte[] value,
            int nodeId,
            java.util.Date arrived)

Slop

public Slop(java.lang.String storeName,
            Slop.Operation operation,
            ByteArray key,
            byte[] value,
            byte[] transforms,
            int nodeId,
            java.util.Date arrived)
Method Detail

getKey

public ByteArray getKey()

getValue

public byte[] getValue()

getTransforms

public byte[] getTransforms()

getNodeId

public int getNodeId()

getArrived

public java.util.Date getArrived()

getOperation

public Slop.Operation getOperation()

getStoreName

public java.lang.String getStoreName()

makeKey

public ByteArray makeKey()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu