|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.sun.slamd.job.JobClass
com.sun.slamd.isw.ISWLatencyCheckJobClass
This class defines a framework that should be extended by any job that wants to measure the propagation latency between Active Directory and the Sun ONE Directory (in either direction) as they are synchronized using Identity Synchronization for Windows.
| Field Summary | |
protected static java.lang.String |
adBindDN
|
protected StringParameter |
adBindDNParameter
|
protected static java.lang.String |
adBindPassword
|
protected PasswordParameter |
adBindPasswordParameter
|
protected static java.lang.String |
adHost
|
protected StringParameter |
adHostParameter
|
protected static java.lang.String |
adMonitorDN
|
protected StringParameter |
adMonitorDNParameter
|
protected static int |
adPollDelay
|
protected IntegerParameter |
adPollDelayParameter
|
protected static int |
adPort
|
protected IntegerParameter |
adPortParameter
|
static char[] |
ALPHABET
The characters that are available for use in the randomly-generated values. |
CategoricalTracker |
categorizedLatency
|
protected static java.lang.String |
dsBindDN
|
protected StringParameter |
dsBindDNParameter
|
protected static java.lang.String |
dsBindPassword
|
protected PasswordParameter |
dsBindPasswordParameter
|
protected static java.lang.String |
dsHost
|
protected StringParameter |
dsHostParameter
|
protected static java.lang.String |
dsMonitorDN
|
protected StringParameter |
dsMonitorDNParameter
|
protected static int |
dsPort
|
protected IntegerParameter |
dsPortParameter
|
protected static boolean |
dsUseSSL
|
protected BooleanParameter |
dsUseSSLParameter
|
protected static int |
latencyDelay
|
protected IntegerParameter |
latencyDelayParameter
|
protected static java.lang.String |
latencyModAttr
|
protected static java.lang.String |
latencyModAttrNT
|
protected StringParameter |
latencyModAttrNTParameter
|
protected StringParameter |
latencyModAttrParameter
|
java.lang.Object |
latencyMutex
|
TimeTracker |
latencyTimer
|
protected static java.lang.String |
ntMonitorUser
|
protected StringParameter |
ntMonitorUserParameter
|
protected static int |
ntPollDelay
|
protected IntegerParameter |
ntPollDelayParameter
|
protected PlaceholderParameter |
placeholder
|
static java.lang.String |
STAT_TRACKER_CATEGORIZED_LATENCY
The display name for the stat tracker that will be used to categorize the propagation latencies. |
static java.lang.String |
STAT_TRACKER_PROPAGATION_LATENCY
The display name for the stat tracker that will be used to track the propagation latency. |
static int |
SYNC_DIRECTION_AD_TO_DS
The sync direction that indicates that changes will be made in Active Directory and flowed to the Sun ONE Directory. |
static int |
SYNC_DIRECTION_DS_TO_AD
The sync direction that indicates that changes will be made in the Sun ONE Directory and flowed to Active Directory. |
static int |
SYNC_DIRECTION_DS_TO_NT
The sync direction that indicates that changes will be made in the Sun ONE Directory and flowed to the Windows NT domain. |
static int |
SYNC_DIRECTION_NT_TO_DS
The sync direction that indicates that changes will be made in the Windows NT domain and flowed to the Sun ONE Directory. |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
protected |
ISWLatencyCheckJobClass(int syncDirection)
Creates a new instance of this latency check job class using the specified sync direction. |
| Method Summary | |
protected netscape.ldap.LDAPConnection |
getADConnection()
Retrieves a connection to the Active Directory server based on the provided connection parameters. |
protected netscape.ldap.LDAPConnection |
getDSConnection()
Retrieves a connection to the Sun ONE Directory server based on the provided connection parameters. |
ParameterList |
getParameterStubs()
Retrieves the set of parameters that are applicable to jobs that measure Identity Synchronization for Windows propagation latency between Active Directory and the Sun ONE Directory. |
StatTracker[] |
getStatTrackers()
Retrieves the stat trackers that are maintained for jobs measuring propagation latency in an Identity Synchronization for Windows environment. |
StatTracker[] |
getStatTrackerStubs(java.lang.String clientID,
java.lang.String threadID,
int collectionInterval)
Retrieves the set of stat trackers that will be maintained for jobs that measure Identity Synchronization for Windows propagation latency between Active Directory and the Sun ONE Directory. |
void |
initializeClient(java.lang.String clientID,
ParameterList parameters)
Initializes all of the instance variables that correspond to parameters used in jobs that measure propagation latency in Identity Synchronization for Windows |
void |
initializeThread(java.lang.String clientID,
java.lang.String threadID,
int collectionInterval,
ParameterList parameters)
Initializes the stat trackers used in measuring the propagation latency between Active Directory and the Sun ONE Directory. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SYNC_DIRECTION_AD_TO_DS
public static final int SYNC_DIRECTION_DS_TO_AD
public static final int SYNC_DIRECTION_NT_TO_DS
public static final int SYNC_DIRECTION_DS_TO_NT
public static final java.lang.String STAT_TRACKER_PROPAGATION_LATENCY
public static final java.lang.String STAT_TRACKER_CATEGORIZED_LATENCY
public static final char[] ALPHABET
protected BooleanParameter dsUseSSLParameter
protected IntegerParameter adPollDelayParameter
protected IntegerParameter adPortParameter
protected IntegerParameter dsPortParameter
protected IntegerParameter latencyDelayParameter
protected IntegerParameter ntPollDelayParameter
protected PasswordParameter adBindPasswordParameter
protected PasswordParameter dsBindPasswordParameter
protected PlaceholderParameter placeholder
protected StringParameter adBindDNParameter
protected StringParameter adHostParameter
protected StringParameter adMonitorDNParameter
protected StringParameter dsBindDNParameter
protected StringParameter dsHostParameter
protected StringParameter dsMonitorDNParameter
protected StringParameter latencyModAttrParameter
protected StringParameter latencyModAttrNTParameter
protected StringParameter ntMonitorUserParameter
protected static boolean dsUseSSL
protected static int adPollDelay
protected static int adPort
protected static int dsPort
protected static int latencyDelay
protected static int ntPollDelay
protected static java.lang.String adBindDN
protected static java.lang.String adBindPassword
protected static java.lang.String adHost
protected static java.lang.String adMonitorDN
protected static java.lang.String dsBindDN
protected static java.lang.String dsBindPassword
protected static java.lang.String dsHost
protected static java.lang.String dsMonitorDN
protected static java.lang.String latencyModAttr
protected static java.lang.String latencyModAttrNT
protected static java.lang.String ntMonitorUser
public CategoricalTracker categorizedLatency
public TimeTracker latencyTimer
public java.lang.Object latencyMutex
| Constructor Detail |
protected ISWLatencyCheckJobClass(int syncDirection)
syncDirection - The flag indicating the direction in which the
synchronization is to occur.| Method Detail |
public ParameterList getParameterStubs()
getParameterStubs in class JobClass
public StatTracker[] getStatTrackerStubs(java.lang.String clientID,
java.lang.String threadID,
int collectionInterval)
getStatTrackerStubs in class JobClassclientID - The client ID that should be used for the
returned stat trackers.threadID - The thread ID that should be used for the
returned stat trackers.collectionInterval - The collection interval that should be used for
the returned stat trackers.
public StatTracker[] getStatTrackers()
getStatTrackers in class JobClass
public void initializeClient(java.lang.String clientID,
ParameterList parameters)
throws UnableToRunException
initializeClient in class JobClassclientID - The client ID for the current client.parameters - The set of parameters that have been defined for this
job.
UnableToRunException - If any part of the initialization fails.
public void initializeThread(java.lang.String clientID,
java.lang.String threadID,
int collectionInterval,
ParameterList parameters)
throws UnableToRunException
initializeThread in class JobClassclientID - The client ID for this job thread.threadID - The thread ID for this job thread.collectionInterval - The length of time in seconds to use as the
statistics collection interval.parameters - The set of parameters provided to this job that
can be used to customize its behavior.
UnableToRunException - If a problem occurs that prevents the thread
from being able to run properly.
protected netscape.ldap.LDAPConnection getADConnection()
throws netscape.ldap.LDAPException
netscape.ldap.LDAPException - If a problem occurs while attempting to establish
the connection.
protected netscape.ldap.LDAPConnection getDSConnection()
throws netscape.ldap.LDAPException
netscape.ldap.LDAPException - If a problem occurs while attempting to establish
the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||