final class ConstrainableIteratorProxy extends IteratorProxy
IteratorProxy| Modifier and Type | Field and Description |
|---|---|
private static Method[] |
methodMapArray
Array containing element pairs in which each pair of elements
represents a mapping between two methods having the following
characteristics:
the first element in the pair is one of the public, remote
method(s) that may be invoked by the client through
AdminIterator. |
server| Constructor and Description |
|---|
ConstrainableIteratorProxy(Uuid iterationUuid,
OutriggerAdmin server,
int fetchSize,
MethodConstraints methodConstraints)
Create a new
ConstrainableIteratorProxy. |
| Modifier and Type | Method and Description |
|---|---|
private static OutriggerAdmin |
constrainServer(OutriggerAdmin server,
MethodConstraints constraints)
Returns a copy of the given
OutriggerAdmin proxy
having the client method constraints that result after
mapping defined by methodMapArray is applied. |
close, delete, next, toStringprivate static final Method[] methodMapArray
AdminIterator.
ConstrainableIteratorProxy(Uuid iterationUuid, OutriggerAdmin server, int fetchSize, MethodConstraints methodConstraints)
ConstrainableIteratorProxy.iterationUuid - The identity of the iteration this proxy is for.server - reference to remote server for the space.fetchSize - Number of entries to ask for when it goes to the
servermethodConstraints - the client method constraints to place on
this proxy (may be null).NullPointerException - if server or
iterationUuid is null.ClassCastException - if server
does not implement RemoteMethodControl.private static OutriggerAdmin constrainServer(OutriggerAdmin server, MethodConstraints constraints)
OutriggerAdmin proxy
having the client method constraints that result after
mapping defined by methodMapArray is applied.server - The proxy to attach constrains too.constraints - The source method constraints.NullPointerException - if server is
null.ClassCastException - if server
does not implement RemoteMethodControl.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.