text: /* Copyright (c) 2019 vesoft inc. All rights reserved.
   *
   * This source code is licensed under Apache 2.0 License,
   * attached with Common Clause Condition 1.0, found in the LICENSES directory.
   */
  
  #ifndef STORAGE_DROPCHECKPOINTPROCESSOR_H
  #define STORAGE_DROPCHECKPOINTPROCESSOR_H
  #include "base/Base.h"
  #include "kvstore/NebulaStore.h"
  #include "storage/BaseProcessor.h"
  #include "storage/StorageFlags.h"
  
  namespace nebula {
  namespace storage {
  class DropCheckpointProcessor : public BaseProcessor<cpp2::AdminExecResp> {
  public:
      static DropCheckpointProcessor* instance(kvstore::KVStore* kvstore) {
          return new DropCheckpointProcessor(kvstore);
      }
  
      void process(const cpp2::DropCPRequest& req);
  
  private:
      explicit DropCheckpointProcessor(kvstore::KVStore* kvstore)
              : BaseProcessor<cpp2::AdminExecResp>(kvstore, nullptr, nullptr) {}
  };
  }  // namespace storage
  }  // namespace nebula
  #endif  // STORAGE_DROPCHECKPOINTPROCESSOR_H
  
  