Package org.jredis.connector.Connection

Examples of org.jredis.connector.Connection.Flag


   */
  @Test
  public void testConnectionFlags() {
    log.info("TEST:CONNECTOR spec sematics - ConnectionFlags");
   
    Flag flags[] = {Flag.CONNECT_IMMEDIATELY, Flag.SHARED, Flag.RELIABLE};
        int bitset = Flag.bitset(flags);
        for(Flag f : flags)
          assertTrue(Flag.isSet(bitset, f), "%s should have been set!\n", f.name());
        int oldbitset = bitset;
       
View Full Code Here

TOP

Related Classes of org.jredis.connector.Connection.Flag

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.