=cdd #17778 Convert samples to java
This commit is contained in:
parent
7bfc56f3f0
commit
94a61c7eb2
32 changed files with 2220 additions and 67 deletions
|
|
@ -217,6 +217,13 @@ object Replicator {
|
|||
* Java API: `Get` value from local `Replicator`, i.e. `ReadLocal` consistency.
|
||||
*/
|
||||
def this(key: Key[A], consistency: ReadConsistency) = this(key, consistency, None)
|
||||
|
||||
/**
|
||||
* Java API: `Get` value from local `Replicator`, i.e. `ReadLocal` consistency.
|
||||
*/
|
||||
def this(key: Key[A], consistency: ReadConsistency, request: Optional[Any]) =
|
||||
this(key, consistency, Option(request.orElse(null)))
|
||||
|
||||
}
|
||||
sealed abstract class GetResponse[A <: ReplicatedData] extends NoSerializationVerificationNeeded {
|
||||
def key: Key[A]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue