D3NodeAsMaster
.public final class D3Engine extends Object
Modifier and Type | Method and Description |
---|---|
void |
broadcast(VersionKey aSnapshotKey)
Deprecated.
Since 5.2.7. Replaced by
D3Broadcast.broadcast() . |
VersionKey |
getBroadcastVersion(BranchKey aDataSpaceKey)
Deprecated.
|
D3Slave |
getD3SlaveFromId(String aSlaveId)
Deprecated.
|
static D3Engine |
getFromSession(Repository aRepository,
Session aSession)
Deprecated.
|
D3Broadcast |
getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey)
Deprecated.
|
D3Broadcast |
getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey)
Deprecated.
|
D3Broadcast |
getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey,
long aTimeOut)
Deprecated.
|
List<D3Slave> |
getRegisteredSlaves(BranchKey aDataSpaceKey)
Deprecated.
|
public static D3Engine getFromSession(Repository aRepository, Session aSession)
public void broadcast(VersionKey aSnapshotKey) throws OperationException
D3Broadcast.broadcast()
.aSnapshotKey
- version to broadcast.IllegalArgumentException
- if:
aSnapshotKey
is null
AdaptationHome
for aSnapshotKey
IllegalStateException
- if called on a non-master node.OperationException
- if owner of the current session is not allowed to broadcast.public VersionKey getBroadcastVersion(BranchKey aDataSpaceKey)
public D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey, long aTimeOut)
public D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey)
public D3Broadcast getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey)