Interface IReplicationConnection
- All Known Subinterfaces:
IReplicationMonitoredConnection
- All Known Implementing Classes:
ConnectionReference
public interface IReplicationConnection
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> Tdispatch(AbstractReplicationPacket<T> packet) <T> AsyncFuture<T>dispatchAsync(AbstractReplicationPacket<T> packet) longlong
-
Method Details
-
getFinalEndpointLookupName
String getFinalEndpointLookupName()- Returns:
- the final endpoint associated to this connection lookup name
-
getClosestEndpointUniqueId
Object getClosestEndpointUniqueId()- Returns:
- the direct endpoint associated to this connection id, if delegators are used this will point to the directly connected delegator unique id and not the final destination unique id
-
getClosestEndpointAddress
Object getClosestEndpointAddress()- Returns:
- the direct endpoint associated to this connection address, if delegators are used this will point to the directly connected delegator address and not the final destination address
-
dispatch
- Throws:
RemoteException
-
dispatchAsync
- Throws:
RemoteException
-
close
void close() -
getConnectionUrl
Object getConnectionUrl() -
getGeneratedTraffic
long getGeneratedTraffic() -
getReceivedTraffic
long getReceivedTraffic() -
getClosestEndpointLogicalVersion
PlatformLogicalVersion getClosestEndpointLogicalVersion()- Returns:
- the direct endpoint associated to this connection logical version, if delegators are used this will point to the directly connected delegator logical version and not the final destination version
- Since:
- 8.0.3
-
getClosestEndpointDetails
ConnectionEndpointDetails getClosestEndpointDetails()- Returns:
- the direct endpoint associated to this connection details
- Since:
- 9.5
-