com.netflix.astyanax.recipes
Class UniquenessConstraint<K,C>

java.lang.Object
  extended by com.netflix.astyanax.recipes.UniquenessConstraint<K,C>

Deprecated.

@Deprecated
public class UniquenessConstraint<K,C>
extends Object


Constructor Summary
UniquenessConstraint(Keyspace keyspace, ColumnFamily<K,C> columnFamily, com.google.common.base.Supplier<C> uniqueColumnSupplier)
          Deprecated.  
 
Method Summary
 C isUnique(K key)
          Deprecated.  
 UniquenessConstraint<K,C> setMonitor(UniquenessConstraintViolationMonitor<K,C> monitor)
          Deprecated.  
 UniquenessConstraint<K,C> setTtl(Integer ttl)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniquenessConstraint

public UniquenessConstraint(Keyspace keyspace,
                            ColumnFamily<K,C> columnFamily,
                            com.google.common.base.Supplier<C> uniqueColumnSupplier)
Deprecated. 
Method Detail

setTtl

public UniquenessConstraint<K,C> setTtl(Integer ttl)
Deprecated. 

setMonitor

public UniquenessConstraint<K,C> setMonitor(UniquenessConstraintViolationMonitor<K,C> monitor)
Deprecated. 

isUnique

public C isUnique(K key)
           throws ConnectionException
Deprecated. 
Throws:
ConnectionException


Copyright © 2012. All Rights Reserved.