Class MultimasterReplication.CleanStaleHistoricalMetadataPlugin
java.lang.Object
org.opends.server.api.plugin.DirectoryServerPlugin<PluginCfg>
org.opends.server.api.plugin.InternalDirectoryServerPlugin
org.opends.server.replication.plugin.MultimasterReplication.CleanStaleHistoricalMetadataPlugin
- Enclosing class:
- MultimasterReplication
public static final class MultimasterReplication.CleanStaleHistoricalMetadataPlugin
extends InternalDirectoryServerPlugin
If replication is configured and then unconfigured, we need to remove replication metadata from entries being
updated to avoid OPENDJ-6235.
-
Constructor Summary
ConstructorDescriptionCleanStaleHistoricalMetadataPlugin
(ServerContext serverContext) Create and register a new instance of this plugin. -
Method Summary
Modifier and TypeMethodDescriptiondoPreOperation
(PreOperationModifyDNOperation modifyDNOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify DN operation.doPreOperation
(PreOperationModifyOperation modifyOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify operation.Methods inherited from class org.opends.server.api.plugin.InternalDirectoryServerPlugin
initializePlugin, isConfigurationAcceptable
Methods inherited from class org.opends.server.api.plugin.DirectoryServerPlugin
doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, doPostCommit, doPostCommit, doPostCommit, doPostCommit, doPostConnect, doPostDisconnect, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doShutdown, doStartup, finalizePlugin, getPluginEntryDN, getPluginTypes, getServerContext, initializeInternal, invokeForInternalOperations, processIntermediateResponse, processSearchEntry, processSearchReference, processSubordinateDelete, processSubordinateModifyDN, setInvokeForInternalOperations
-
Constructor Details
-
CleanStaleHistoricalMetadataPlugin
Create and register a new instance of this plugin.- Parameters:
serverContext
- the server context
-
-
Method Details
-
doPreOperation
Description copied from class:DirectoryServerPlugin
Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify operation. This method is not called when processing synchronization operations.- Overrides:
doPreOperation
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
modifyOperation
- The modify operation to be processed.- Returns:
- Information about the result of the plugin processing.
-
doPreOperation
Description copied from class:DirectoryServerPlugin
Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify DN operation. This method is not called when processing synchronization operations.- Overrides:
doPreOperation
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
modifyDNOperation
- The modify DN operation to be processed.- Returns:
- Information about the result of the plugin processing.
-