Package org.tarantool.core.impl

Examples of org.tarantool.core.impl.SocketChannelTarantoolConnection


public class TestClient {

  @Test
  public void standardTest() {

    TarantoolConnection connection = new SocketChannelTarantoolConnection("localhost", 33313);

    StandardTest st = new StandardTest(connection);
    st.run();

    connection.close();
  }
View Full Code Here


    public SocketChannelPooledConnectionFactory() {
    }

    @Override
    public TarantoolConnection newUnpooledConnection() {
        return new SocketChannelTarantoolConnection(host, port);
    }
View Full Code Here

        e.printStackTrace();
      }
    }
    writer.close();
    reader.close();
    SocketChannelTarantoolConnection con = new SocketChannelTarantoolConnection();
    Tuple t = con.findOne(0, 0, 0, new Tuple(1).setInt(0, 1));
    System.out.println(t.getLong(4));
    con.close();
  }
View Full Code Here

TOP

Related Classes of org.tarantool.core.impl.SocketChannelTarantoolConnection

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.