public interface D3Node
All methods are read-only and are used to retrieve the D3 node information.
| Modifier and Type | Method and Description | 
|---|---|
VersionKey | 
getBroadcastVersion(BranchKey aDataSpaceKey)
Returns the last broadcast snapshot for the specified dataspace key. 
 | 
D3Slave | 
getD3SlaveFromRepositoryId(String aRepositoryId)
Returns the registered replica for the specified identifier. 
 | 
D3Slave | 
getD3SlaveFromRepositoryLabel(String aRepositoryLabel)
Returns the registered replica for the specified label. 
 | 
List<D3Slave> | 
getRegisteredSlaves(BranchKey aDataSpaceKey)
Returns the list of the  
D3Slave subscribed to the dataspace specified in the parameter. | 
String | 
getRepositoryId()
Returns the repository ID of the current node. 
 | 
String | 
getRepositoryLabel()
Returns the repository label of the current node. 
 | 
boolean | 
isMasterHome(AdaptationHome aHome)
Returns  
true if the parameter aHome is a D3 primary delivery dataspace or its snapshot,
 otherwise returns false. | 
boolean | 
isSlaveHome(AdaptationHome aHome)
Returns  
true if the parameter aHome is a D3 replica delivery dataspace or its snapshot,
 otherwise returns false. | 
VersionKey getBroadcastVersion(BranchKey aDataSpaceKey)
 Otherwise a null is returned.
 
aDataSpaceKey - D3 dataspace keyString getRepositoryId()
String getRepositoryLabel()
D3Slave getD3SlaveFromRepositoryId(String aRepositoryId)
 If unknown in the primary repository or if replica mode only,
 returns null.
 
aRepositoryId - remote replica repository ID.NullPointerException - if aRepositoryId is null.D3Slave getD3SlaveFromRepositoryLabel(String aRepositoryLabel)
 If unknown in the primary repository or if replica mode only,
 returns null.
 
aRepositoryLabel - remote replica repository label.NullPointerException - if aRepositoryLabel is null.List<D3Slave> getRegisteredSlaves(BranchKey aDataSpaceKey)
D3Slave subscribed to the dataspace specified in the parameter.
 The returned list is empty if in replica mode only or if no replica registered on this node.
aDataSpaceKey - D3 dataspace key.boolean isMasterHome(AdaptationHome aHome)
true if the parameter aHome is a D3 primary delivery dataspace or its snapshot,
 otherwise returns false.aHome - Dataspace or snapshot home.NullPointerException - if aHome is null.boolean isSlaveHome(AdaptationHome aHome)
true if the parameter aHome is a D3 replica delivery dataspace or its snapshot,
 otherwise returns false.aHome - Dataspace or snapshot home.NullPointerException - if aHome is null.