Package com.orchestranetworks.d3
Interface D3NodeAsMaster
- All Superinterfaces:
- D3Node
 
 - public interface D3NodeAsMaster extends 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 SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description D3SlavegetD3SlaveFromId (String aSlaveId)Deprecated.Since 5.5.1, this method has been replaced bygetD3SlaveFromRepositoryLabel(String).D3SlavegetD3SlaveFromRepositoryId (String aRepositoryId)Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryId(String).D3SlavegetD3SlaveFromRepositoryLabel (String aRepositoryLabel)Deprecated.Since 5.5.1, this method has been replaced byD3Node.getD3SlaveFromRepositoryLabel(String).D3BroadcastgetHandlerForAsynchronousBroadcast (VersionKey aSnapshotKey)Returns the asynchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().D3BroadcastgetHandlerForSynchronousBroadcast (VersionKey aSnapshotKey)Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().D3BroadcastgetHandlerForSynchronousBroadcast (VersionKey aSnapshotKey, long aTimeOut)Returns the synchronous broadcast handler in order to perform broadcast using the methodD3Broadcast.broadcast().ListgetRegisteredSlaves (BranchKey aDataSpaceKey)Deprecated.Since 5.5.1, this method has been replaced byD3Node.getRegisteredSlaves(BranchKey).-   Methods inherited from interface com.orchestranetworks.d3.D3NodegetBroadcastVersion, getRepositoryId, getRepositoryLabel, isMasterHome, isSlaveHome
 
-   
 
-   
-   Method Detail- getHandlerForAsynchronousBroadcast- D3Broadcast getHandlerForAsynchronousBroadcast(VersionKey aSnapshotKey) Returns the asynchronous broadcast handler in order to perform broadcast using the method- D3Broadcast.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- D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey, long aTimeOut) Returns the synchronous broadcast handler in order to perform broadcast using the method- D3Broadcast.broadcast().- Parameters:
- aSnapshotKey- snapshot to be broadcast.
- aTimeOut- the maximum time to wait in milliseconds and if- 0it is considering unlimited.
- Throws:
- IllegalArgumentException-- See getHandlerForAsynchronousBroadcast(VersionKey).
- if aTimeOutis negative.
 
- See 
- Since:
- 5.4.2
 
 - getHandlerForSynchronousBroadcast- D3Broadcast getHandlerForSynchronousBroadcast(VersionKey aSnapshotKey) Returns the synchronous broadcast handler in order to perform broadcast using the method- D3Broadcast.broadcast().- The default timeout of the operation is set to - 0(unlimited).- Parameters:
- aSnapshotKey- snapshot to be broadcast.
- Throws:
- IllegalArgumentException- See- getHandlerForAsynchronousBroadcast(VersionKey).
- Since:
- 5.4.2
 
 - getD3SlaveFromId- @Deprecated D3Slave getD3SlaveFromId(String aSlaveId) Deprecated.Since 5.5.1, this method has been replaced by- getD3SlaveFromRepositoryLabel(String).Returns the replica for the specified identifier. If unknown to the primary repository, it returns- null.- Parameters:
- aSlaveId- remote repository label.
- Throws:
- NullPointerException- if- aSlaveIdis null.
- Since:
- 5.4.2
 
 - getD3SlaveFromRepositoryId- @Deprecated D3Slave getD3SlaveFromRepositoryId(String aRepositoryId) Deprecated.Since 5.5.1, this method has been replaced by- D3Node.getD3SlaveFromRepositoryId(String).Returns the replica for the specified identifier. If unknown to the primary repository, it returns- null.- Specified by:
- getD3SlaveFromRepositoryIdin interface- D3Node
- Parameters:
- aRepositoryId- remote replica repository ID.
- Throws:
- NullPointerException- if- aRepositoryIdis null.
- Since:
- 5.5.0
 
 - getD3SlaveFromRepositoryLabel- @Deprecated D3Slave getD3SlaveFromRepositoryLabel(String aRepositoryLabel) Deprecated.Since 5.5.1, this method has been replaced by- D3Node.getD3SlaveFromRepositoryLabel(String).Returns the replica for the specified label. If unknown to the primary repository, it returns- null.- Specified by:
- getD3SlaveFromRepositoryLabelin interface- D3Node
- Parameters:
- aRepositoryLabel- remote replica repository label.
- Throws:
- NullPointerException- if- aRepositoryLabelis null.
- Since:
- 5.5.0
 
 - getRegisteredSlaves- @Deprecated List getRegisteredSlaves(BranchKey aDataSpaceKey) Deprecated.Since 5.5.1, this method has been replaced by- D3Node.getRegisteredSlaves(BranchKey).Returns the list of the- D3Slaveobject(s) subscribed to the dataspace specified in the parameter.- Specified by:
- getRegisteredSlavesin interface- D3Node
- Parameters:
- aDataSpaceKey- D3 dataspace key.
- Since:
- 5.4.2
 
 
 
-