Tabnine Logo
ClusteredAsyncMapTest
Code IndexAdd Tabnine to your IDE (free)

How to use
ClusteredAsyncMapTest
in
io.vertx.core.shareddata

Best Java code snippets using io.vertx.core.shareddata.ClusteredAsyncMapTest (Showing top 15 results out of 315)

origin: eclipse-vertx/vert.x

public void setUp() throws Exception {
 super.setUp();
 startNodes(getNumNodes());
}
origin: io.vertx/vertx-infinispan

@Override
public void setUp() throws Exception {
 Random random = new Random();
 System.setProperty("vertx.infinispan.test.auth.token", new BigInteger(128, random).toString(32));
 super.setUp();
}
origin: io.vertx/vertx-hazelcast

@Override
@Test
@Ignore("Hazelcast removes the binding even if a new entry is added without ttl")
public void testMapPutTtlThenPut() {
 super.testMapPutTtlThenPut();
}
origin: eclipse-vertx/vert.x

@Override
protected Vertx getVertx() {
 Vertx vertx = vertices[pos];
 if (++pos == getNumNodes()) {
  pos = 0;
 }
 return vertx;
}
origin: vert-x3/vertx-zookeeper

public void after() throws Exception {
 super.after();
 zkClustered.stop();
}
origin: io.vertx/vertx-hazelcast

@Override
protected void tearDown() throws Exception {
 super.tearDown();
 Lifecycle.closeDataNodes(dataNodes);
}
origin: io.vertx/vertx-infinispan

@Override
protected void clusteredVertx(VertxOptions options, Handler<AsyncResult<Vertx>> ar) {
 CountDownLatch latch = new CountDownLatch(1);
 Future<Vertx> future = Future.future();
 future.setHandler(ar);
 super.clusteredVertx(options, asyncResult -> {
  if (asyncResult.succeeded()) {
   future.complete(asyncResult.result());
  } else {
   future.fail(asyncResult.cause());
  }
  latch.countDown();
 });
 try {
  assertTrue(latch.await(2, TimeUnit.MINUTES));
 } catch (InterruptedException e) {
  fail(e.getMessage());
 }
}
origin: io.vertx/vertx-hazelcast

@Override
public void setUp() throws Exception {
 Random random = new Random();
 System.setProperty("vertx.hazelcast.test.group.name", new BigInteger(128, random).toString(32));
 System.setProperty("vertx.hazelcast.test.group.password", new BigInteger(128, random).toString(32));
 super.setUp();
}
origin: io.vertx/vertx-hazelcast

 @Override
 @Test
 @Ignore("Hazelcast removes the binding even if a new entry is added without ttl")
 public void testMapPutTtlThenPut() {
  super.testMapPutTtlThenPut();
 }
}
origin: io.vertx/vertx-core

@Override
protected Vertx getVertx() {
 Vertx vertx = vertices[pos];
 if (++pos == getNumNodes()) {
  pos = 0;
 }
 return vertx;
}
origin: io.vertx/vertx-zookeeper

public void after() throws Exception {
 super.after();
 zkClustered.stop();
}
origin: io.vertx/vertx-hazelcast

@Override
public void setUp() throws Exception {
 Random random = new Random();
 System.setProperty("vertx.hazelcast.test.group.name", new BigInteger(128, random).toString(32));
 System.setProperty("vertx.hazelcast.test.group.password", new BigInteger(128, random).toString(32));
 super.setUp();
}
origin: io.vertx/vertx-core

public void setUp() throws Exception {
 super.setUp();
 startNodes(getNumNodes());
}
origin: io.vertx/vertx-hazelcast

 @Override
 @Test
 @Ignore("Hazelcast removes the binding even if a new entry is added without ttl")
 public void testMapPutTtlThenPut() {
  super.testMapPutTtlThenPut();
 }
}
origin: io.vertx/vertx-hazelcast

@Override
public void setUp() throws Exception {
 Random random = new Random();
 System.setProperty("vertx.hazelcast.test.group.name", new BigInteger(128, random).toString(32));
 System.setProperty("vertx.hazelcast.test.group.password", new BigInteger(128, random).toString(32));
 for (int i = 0; i < DATA_NODES; i++) {
  dataNodes.add(Hazelcast.newHazelcastInstance(ConfigUtil.loadConfig()));
 }
 super.setUp();
}
io.vertx.core.shareddataClusteredAsyncMapTest

Most used methods

  • setUp
  • after
  • clusteredVertx
  • getNumNodes
  • startNodes
  • tearDown
  • testMapPutTtlThenPut

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • setContentView (Activity)
  • setScale (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Path (java.nio.file)
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Collectors (java.util.stream)
  • JTextField (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now