Examples of WriteOptions


Examples of org.springframework.cassandra.core.WriteOptions

  public void testDeleteAsynchronously(ConsistencyLevel cl) throws Exception {
    Thing thing = Thing.random();
    t.insert(thing);
    ThingDeletionListener listener = new ThingDeletionListener();
    t.deleteAsynchronously(thing, listener, new WriteOptions(cl, RetryPolicy.LOGGING));
    listener.await();
    if (listener.exception != null) {
      throw listener.exception;
    }
    assertFalse(t.exists(Thing.class, id("stuff", thing.stuff)));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.