Add additional java api for updated for ORMap (#25926)

* Add additional java api for updated for ORMap

Existing updated is ambiguous from Java with the Scala API.

* Remove warnings from DurablePruningSpec
This commit is contained in:
Christopher Batey 2018-12-04 13:51:41 +00:00 committed by Patrik Nordwall
parent 1a25c8a5ad
commit 14377ae8cf
4 changed files with 52 additions and 3 deletions

View file

@ -0,0 +1,19 @@
/*
* Copyright (C) 2018 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.cluster.ddata;
import akka.cluster.Cluster;
public class ORMultiMapTest {
public void compileOnlyORMultiMapTest() {
// primarily to check API accessibility with overloads/types
Cluster node = null;
ORMultiMap<String, String> orMultiMap = ORMultiMap.create();
orMultiMap.addBinding(node, "a", "1");
orMultiMap.removeBinding(node, "a", "1");
}
}