/******************************************************************************* * copyright 上海赜睿信息科技有限公司(zilliz) - all rights reserved * unauthorized copying of this file, via any medium is strictly prohibited. * proprietary and confidential. ******************************************************************************/ #pragma once #include "../resource/Resource.h" namespace zilliz { namespace milvus { namespace engine { class Action { public: /* * Push task to neighbour; */ static void PushTaskToNeighbour(const ResourceWPtr &self); /* * Push task to neighbour that has executor; */ static void PushTaskToNeighbourHasExecutor(const ResourceWPtr &self); /* * Pull task From neighbour; */ static void PullTaskFromNeighbour(const ResourceWPtr &self); }; } } }