Package com.orchestranetworks.d3
Interface D3NodeAsMaster
- All Superinterfaces:
 D3Node
Represents the external view of the D3 engine and offers primary administrative functionalities.
 
 To create a primary engine, use
 D3NodeFactory.createForMasterFromSession(com.orchestranetworks.service.Session).
 
- Since:
 - 5.4.2
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetD3SlaveFromId(String aSlaveId) Deprecated.getD3SlaveFromRepositoryId(String aRepositoryId) Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryId(String).getD3SlaveFromRepositoryLabel(String aRepositoryLabel) Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryLabel(String).getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey) Returns the asynchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey) Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey, long aTimeOut) Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().getRegisteredSlaves(BranchKey aDataSpaceKey) Deprecated.Since 5.5.1, this method has been replaced byD3Node.getRegisteredSlaves(BranchKey).Methods inherited from interface com.orchestranetworks.d3.D3Node
getBroadcastVersion, getRepositoryId, getRepositoryLabel, isMasterHome, isSlaveHome 
- 
Method Details
- 
getHandlerForAsynchronousBroadcast
Returns the asynchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().The timeout is not applicable in asynchronous mode.
- Parameters:
 aSnapshotKey- snapshot to be broadcast.- Throws:
 IllegalArgumentException-- if 
aSnapshotKeyisnull. - if there is no 
AdaptationHomeforaSnapshotKey. - if the snapshot is not valid.
 - if the parent dataspace of the snapshot is not a delivery dataspace.
 - if the delivery dataspace is not associated with a delivery profile.
 
- if 
 - Since:
 - 5.4.2
 
 - 
getHandlerForSynchronousBroadcast
Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().- Parameters:
 aSnapshotKey- snapshot to be broadcast.aTimeOut- the maximum time to wait in milliseconds and if0it is considering unlimited.- Throws:
 IllegalArgumentException-- See 
getHandlerForAsynchronousBroadcast(VersionKey). - if 
aTimeOutis negative. 
- See 
 - Since:
 - 5.4.2
 
 - 
getHandlerForSynchronousBroadcast
Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().The default timeout of the operation is set to
0(unlimited).- Parameters:
 aSnapshotKey- snapshot to be broadcast.- Throws:
 IllegalArgumentException- SeegetHandlerForAsynchronousBroadcast(VersionKey).- Since:
 - 5.4.2
 
 - 
getD3SlaveFromId
Deprecated.Since 5.5.1, this method has been replaced bygetD3SlaveFromRepositoryLabel(String).Returns the replica for the specified identifier. If unknown to the primary repository, it returnsnull.- Parameters:
 aSlaveId- remote repository label.- Throws:
 NullPointerException- ifaSlaveIdis null.- Since:
 - 5.4.2
 
 - 
getD3SlaveFromRepositoryId
Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryId(String).Returns the replica for the specified identifier. If unknown to the primary repository, it returnsnull.- Specified by:
 getD3SlaveFromRepositoryIdin interfaceD3Node- Parameters:
 aRepositoryId- remote replica repository ID.- Throws:
 NullPointerException- ifaRepositoryIdis null.- Since:
 - 5.5.0
 
 - 
getD3SlaveFromRepositoryLabel
Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryLabel(String).Returns the replica for the specified label. If unknown to the primary repository, it returnsnull.- Specified by:
 getD3SlaveFromRepositoryLabelin interfaceD3Node- Parameters:
 aRepositoryLabel- remote replica repository label.- Throws:
 NullPointerException- ifaRepositoryLabelis null.- Since:
 - 5.5.0
 
 - 
getRegisteredSlaves
Deprecated.Since 5.5.1, this method has been replaced byD3Node.getRegisteredSlaves(BranchKey).Returns the list of theD3Slaveobject(s) subscribed to the dataspace specified in the parameter.- Specified by:
 getRegisteredSlavesin interfaceD3Node- Parameters:
 aDataSpaceKey- D3 dataspace key.- Since:
 - 5.4.2
 
 
 - 
 
getD3SlaveFromRepositoryLabel(String).