#pragma once

#include "abstract_processor.h"

namespace NRTYServer {

    class TShardsProcessor : public ISynchronizerProcessor {
    public:
        TShardsProcessor(TSynchronizer* synchronizer);
        bool ProcessRequest(const TCgiParameters& cgi, TStringBuf postBuffer, TAsyncTaskExecutor::TTask& task);
        virtual TString GetProcessorName() {
            return "shards";
        }
        enum TAction { spaCheck, spaRemove };
    };
}
