Package siena.core.options

Examples of siena.core.options.PmOption


    sdb.init(SimpleDBConfig.getSienaAWSProperties());
  }
 
  public void testNonSticky()
  {
    PmOption opt;
    opt = sdb.option(PmOptionSdbReadConsistency.ID);
    assertTrue(opt == null);
   
    sdb.option(SdbPersistenceManager.CONSISTENT_READ);
    opt = sdb.option(PmOptionSdbReadConsistency.ID);
View Full Code Here


 
  }
 
  public void testLocalPriority()
  {
    PmOption opt;
   
    sdb.option(SdbPersistenceManager.NOT_CONSISTENT_READ, PmOptionStickiness.NOT_STICKY);
    sdb.option(SdbPersistenceManager.CONSISTENT_READ, PmOptionStickiness.STICKY);
    opt = sdb.option(PmOptionSdbReadConsistency.ID);
    assertTrue(opt != null);
View Full Code Here

TOP

Related Classes of siena.core.options.PmOption

Copyright © 2018 www.massapicom. 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.