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(Object endpoint)
Indicates that resources for the given endpoint may be freed.
|
protected AbstractDgcClient.DgcProxy |
getDgcProxy(Object endpoint)
Returns a proxy for making DGC calls to the given endpoint.
|
protected Object |
getRefEndpoint(Object ref)
Returns the endpoint in the given live reference.
|
protected Object |
getRefObjectID(Object ref)
Returns the object ID in the given live reference.
|
void |
registerRefs(Endpoint endpoint,
Collection refs) |
protected void |
registerRefs(Object endpoint,
Collection refs)
Registers the live reference instances in the supplied collection to
participate in distributed garbage collection.
|
public void registerRefs(Endpoint endpoint, Collection refs)
protected AbstractDgcClient.DgcProxy getDgcProxy(Object endpoint)
protected void freeEndpoint(Object endpoint)
protected Object getRefEndpoint(Object ref)
protected Object getRefObjectID(Object ref)
protected final void registerRefs(Object endpoint, Collection refs)
Copyright © 2016–2018. All rights reserved.