com.basho.riak.client.bucket
Class VClockPruneProps

java.lang.Object
  extended by com.basho.riak.client.bucket.VClockPruneProps

public class VClockPruneProps
extends Object

Parameter wrapper class for the set of vclock prune properties

Author:
russell
See Also:
BucketProperties

Constructor Summary
VClockPruneProps(Integer smallVClock, Integer bigVClock, Long youngVClock, Long oldVClock)
          Create an instance for the provided set of prone properties
 
Method Summary
 boolean equals(Object obj)
           
 Integer getBigVClock()
          the big_vclock property for this bucket.
 Long getOldVClock()
          the old_vclock property for this bucket.
 Integer getSmallVClock()
          the small_vclock property for this bucket.
 Long getYoungVClock()
          The young_vclcok property for this bucket.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VClockPruneProps

public VClockPruneProps(Integer smallVClock,
                        Integer bigVClock,
                        Long youngVClock,
                        Long oldVClock)
Create an instance for the provided set of prone properties

Parameters:
smallVClock -
bigVClock -
youngVClock -
oldVClock -
Method Detail

getSmallVClock

public Integer getSmallVClock()
the small_vclock property for this bucket. See controlling vector clock growth for details.

Returns:
the small vector clock pruning property if set, or null.

getBigVClock

public Integer getBigVClock()
the big_vclock property for this bucket. See controlling vector clock growth for details.

Returns:
the big vclock pruning size property if set, or null.

getYoungVClock

public Long getYoungVClock()
The young_vclcok property for this bucket. See controlling vector clock growth for details.

Returns:
the young vclock prune property if set, or null.

getOldVClock

public Long getOldVClock()
the old_vclock property for this bucket. See controlling vector clock growth for details.

Returns:
the old vclock prune property if set, or null

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.