public interface D3NodeAsMaster extends D3Node
To create a primary engine, use
D3NodeFactory.createForMasterFromSession(com.orchestranetworks.service.Session)
.
Modifier and Type | Method and Description |
---|---|
D3Slave |
getD3SlaveFromId(String aSlaveId)
Deprecated.
Since 5.5.1, this method has been replaced by
getD3SlaveFromRepositoryLabel(String) . |
D3Slave |
getD3SlaveFromRepositoryId(String aRepositoryId)
Deprecated.
Since 5.5.1, this method has been replaced by
D3Node.getD3SlaveFromRepositoryId(String) . |
D3Slave |
getD3SlaveFromRepositoryLabel(String aRepositoryLabel)
Deprecated.
Since 5.5.1, this method has been replaced by
D3Node.getD3SlaveFromRepositoryLabel(String) . |
D3Broadcast |
getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey)
Returns the asynchronous broadcast handler in order to perform broadcast
using the method
D3Broadcast.broadcast() . |
D3Broadcast |
getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey)
Returns the synchronous broadcast handler in order to perform broadcast
using the method
D3Broadcast.broadcast() . |
D3Broadcast |
getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey,
long aTimeOut)
Returns the synchronous broadcast handler in order to perform broadcast
using the method
D3Broadcast.broadcast() . |
List |
getRegisteredSlaves(BranchKey aDataSpaceKey)
Deprecated.
Since 5.5.1, this method has been replaced by
D3Node.getRegisteredSlaves(BranchKey) . |
getBroadcastVersion, getRepositoryId, getRepositoryLabel, isMasterHome, isSlaveHome
D3Broadcast getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey)
D3Broadcast.broadcast()
.
The timeout is not applicable in asynchronous mode.
aSnapshotKey
- snapshot to be broadcast.IllegalArgumentException
- aSnapshotKey
is null
.AdaptationHome
for
aSnapshotKey
.D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey, long aTimeOut)
D3Broadcast.broadcast()
.aSnapshotKey
- snapshot to be broadcast.aTimeOut
- the maximum time to wait in milliseconds and if 0
it is considering unlimited.IllegalArgumentException
- getHandlerForAsynchronousBroadcast(VersionKey)
.aTimeOut
is negative.D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey)
D3Broadcast.broadcast()
.
The default timeout of the operation is set to 0
(unlimited).
aSnapshotKey
- snapshot to be broadcast.IllegalArgumentException
- See getHandlerForAsynchronousBroadcast(VersionKey)
.D3Slave getD3SlaveFromId(String aSlaveId)
getD3SlaveFromRepositoryLabel(String)
.null
.aSlaveId
- remote repository label.NullPointerException
- if aSlaveId
is null.D3Slave getD3SlaveFromRepositoryId(String aRepositoryId)
D3Node.getD3SlaveFromRepositoryId(String)
.null
.getD3SlaveFromRepositoryId
in interface D3Node
aRepositoryId
- remote replica repository ID.NullPointerException
- if aRepositoryId
is null.D3Slave getD3SlaveFromRepositoryLabel(String aRepositoryLabel)
D3Node.getD3SlaveFromRepositoryLabel(String)
.null
.getD3SlaveFromRepositoryLabel
in interface D3Node
aRepositoryLabel
- remote replica repository label.NullPointerException
- if aRepositoryLabel
is null.List getRegisteredSlaves(BranchKey aDataSpaceKey)
D3Node.getRegisteredSlaves(BranchKey)
.D3Slave
object(s) subscribed to the dataspace specified in the parameter.getRegisteredSlaves
in interface D3Node
aDataSpaceKey
- D3 dataspace key.