Class DeleteCompletionCallback

java.lang.Object
org.apache.hadoop.registry.server.services.DeleteCompletionCallback
All Implemented Interfaces:
org.apache.curator.framework.api.BackgroundCallback

public class DeleteCompletionCallback extends Object implements org.apache.curator.framework.api.BackgroundCallback
Curator callback for delete operations completing.

This callback logs at debug and increments the event counter.

  • Constructor Details

    • DeleteCompletionCallback

      public DeleteCompletionCallback()
  • Method Details

    • processResult

      public void processResult(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.api.CuratorEvent event) throws Exception
      Specified by:
      processResult in interface org.apache.curator.framework.api.BackgroundCallback
      Throws:
      Exception
    • getEventCount

      public int getEventCount()
      Get the number of deletion events
      Returns:
      the count of events