com.novell.admin.ns.nds
Class NDSPartitionInfo

java.lang.Object
  |
  +--com.novell.admin.ns.nds.NDSPartitionInfo

public class NDSPartitionInfo
extends java.lang.Object

This class stores information about NDS partitions. Use this class to retrieve NDS partition information.


Constructor Summary
NDSPartitionInfo(java.lang.String partFDN, java.lang.String srvReadFDN, java.lang.String mstrRepFDN, java.util.Date lastSucSyncTime, java.util.Date lastAttSyncTime, java.util.Vector NDSRepInfos)
          Constructor that creates an NDSPartitionInfo object to store NDS partition information.
 
Method Summary
 java.util.Date getLastAttemptedSyncTime()
          Returns the time of the last attempt synchronization.
 java.util.Date getLastSuccessfulSyncTime()
          Returns the time of the last successful synchronization.
 java.lang.String getMasterReplicaFDN()
          Returns the fully distinguished name of the partition's master replica.
 java.util.Vector getNDSReplicas()
          Returns the list of replicas the partition has.
 int getNumOfReplicas()
          Returns the number of replicas the partition has, not counting subordinate references.
 int getNumOfSubRefs()
          Returns the number of subordinate references the partition has.
 java.lang.String getPartitionFDN()
          Returns the fully distinguished name of the partition replica.
 java.lang.String getServerReadFDN()
          Returns the fully distinguished name of the server where the partition information is read.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDSPartitionInfo

public NDSPartitionInfo(java.lang.String partFDN,
                        java.lang.String srvReadFDN,
                        java.lang.String mstrRepFDN,
                        java.util.Date lastSucSyncTime,
                        java.util.Date lastAttSyncTime,
                        java.util.Vector NDSRepInfos)
Constructor that creates an NDSPartitionInfo object to store NDS partition information.

A runtime exception IllegalArgumentException will be throw if any one of the arguments is null.

Parameters:
I-partFDN - The FDN of the partition.
I-srvReadFDN - The FDN of the server where the partition info is coming from.
I-mstrRepFDN - The FDN of the master replica of this partition.
I-lastSucSyncTime - The partition's last successful sync time.
I-lastAttSyncTime - The partition's last attempt sync time.
I-NDSRepInfos - Vectors of NDSReplicaInfo, which provide NDS replica information for the partition.
See Also:
NDSReplicaInfo
Method Detail

getPartitionFDN

public java.lang.String getPartitionFDN()
Returns the fully distinguished name of the partition replica.
Returns:
The partition replica's FDN.

getServerReadFDN

public java.lang.String getServerReadFDN()
Returns the fully distinguished name of the server where the partition information is read.
Returns:
FDN of the server where the partition information is read.

getMasterReplicaFDN

public java.lang.String getMasterReplicaFDN()
Returns the fully distinguished name of the partition's master replica.
Returns:
The FDN of the partition's master replica.

getNumOfReplicas

public int getNumOfReplicas()
Returns the number of replicas the partition has, not counting subordinate references.
Returns:
The number of replicas the partition has.

getNumOfSubRefs

public int getNumOfSubRefs()
Returns the number of subordinate references the partition has.
Returns:
The number of subordinate references the partition has.

getLastSuccessfulSyncTime

public java.util.Date getLastSuccessfulSyncTime()
Returns the time of the last successful synchronization.
Returns:
The last successful synchronization time.

getLastAttemptedSyncTime

public java.util.Date getLastAttemptedSyncTime()
Returns the time of the last attempt synchronization.
Returns:
The time of the last attempt synchronization.

getNDSReplicas

public java.util.Vector getNDSReplicas()
Returns the list of replicas the partition has.
Returns:
Vectors of NDSReplicaInfo


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.