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:
parent
1a25c8a5ad
commit
14377ae8cf
4 changed files with 52 additions and 3 deletions
|
|
@ -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");
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue