com.sun.slamd.dslogplay
Class LogOperation

java.lang.Object
  extended bycom.sun.slamd.dslogplay.LogOperation
Direct Known Subclasses:
AddOperation, BindOperation, CompareOperation, DeleteOperation, ModifyOperation, SearchOperation

public abstract class LogOperation
extends java.lang.Object

This class defines a generic type of log operation that may be read from an access log file and replayed against a Directory Server.


Field Summary
static java.lang.String DEFAULT_RESULT_CODE
          The default result code string that should be used if the associated operation was successful.
 
Constructor Summary
LogOperation()
           
 
Method Summary
abstract  void replayOperation(LogPlaybackJobClass jobThread)
          Replays this operation against the directory server using the information contained in the provided job thread.
abstract  java.lang.String toString()
          Retrieves a string representation of this log operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_RESULT_CODE

public static final java.lang.String DEFAULT_RESULT_CODE
The default result code string that should be used if the associated operation was successful.

See Also:
Constant Field Values
Constructor Detail

LogOperation

public LogOperation()
Method Detail

replayOperation

public abstract void replayOperation(LogPlaybackJobClass jobThread)
Replays this operation against the directory server using the information contained in the provided job thread.

Parameters:
jobThread - The job thread to use when replaying this operation.

toString

public abstract java.lang.String toString()
Retrieves a string representation of this log operation.

Returns:
A string representation of this log operation.