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 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
Constructors Constructor Description CleanStaleHistoricalMetadataPlugin(ServerContext serverContext)
Create and register a new instance of this plugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginResult.PreOperation
doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify DN operation.PluginResult.PreOperation
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, 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 Detail
-
CleanStaleHistoricalMetadataPlugin
public CleanStaleHistoricalMetadataPlugin(ServerContext serverContext)
Create and register a new instance of this plugin.- Parameters:
serverContext
- the server context
-
-
Method Detail
-
doPreOperation
public PluginResult.PreOperation doPreOperation(PreOperationModifyOperation modifyOperation)
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
public PluginResult.PreOperation doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
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.
-
-