public final class DgcClient extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractDgcClient.DgcProxy
A DgcProxy is a proxy for invoking DGC operations on a server-side
DGC implementation at a particular endpoint.
|
Constructor and Description |
---|
DgcClient() |
Modifier and Type | Method and Description |
---|---|
protected void |
freeEndpoint(Endpoint endpoint)
Indicates that resources for the given endpoint may be freed.
|
protected AbstractDgcClient.DgcProxy |
getDgcProxy(Endpoint endpoint)
Returns a proxy for making DGC calls to the given endpoint.
|
protected org.apache.river.jeri.internal.runtime.AbstractDgcClient.EndpointEntry |
getEndpointEntry(Endpoint endpoint)
Looks up the EndpointEntry for the given endpoint.
|
protected Endpoint |
getRefEndpoint(ObjectEndpoint ref)
Returns the endpoint in the given live reference.
|
protected Uuid |
getRefObjectID(ObjectEndpoint ref)
Returns the object ID in the given live reference.
|
void |
registerRefs(Endpoint endpoint,
Collection<ObjectEndpoint> refs)
Registers the live reference instances in the supplied collection to
participate in distributed garbage collection.
|
void |
setDGCContext(Endpoint endpoint,
MethodConstraints clientConstraints,
AccessControlContext context) |
public void registerRefs(Endpoint endpoint, Collection<ObjectEndpoint> refs)
protected AbstractDgcClient.DgcProxy getDgcProxy(Endpoint endpoint)
protected void freeEndpoint(Endpoint endpoint)
protected Endpoint getRefEndpoint(ObjectEndpoint ref)
protected Uuid getRefObjectID(ObjectEndpoint ref)
public void setDGCContext(Endpoint endpoint, MethodConstraints clientConstraints, AccessControlContext context)
protected org.apache.river.jeri.internal.runtime.AbstractDgcClient.EndpointEntry getEndpointEntry(Endpoint endpoint)
Copyright © 2016–2018. All rights reserved.