mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Remove unimplemented GetAll method in actor info accessor (#13362)
This commit is contained in:
@@ -33,12 +33,6 @@ class ActorInfoAccessor {
|
||||
public:
|
||||
virtual ~ActorInfoAccessor() = default;
|
||||
|
||||
/// Get all actor specification from GCS synchronously.
|
||||
///
|
||||
/// \param actor_table_data_list The container to hold the actor specification.
|
||||
/// \return Status
|
||||
virtual Status GetAll(std::vector<rpc::ActorTableData> *actor_table_data_list) = 0;
|
||||
|
||||
/// Get actor specification from GCS asynchronously.
|
||||
///
|
||||
/// \param actor_id The ID of actor to look up in the GCS.
|
||||
|
||||
@@ -131,11 +131,6 @@ ServiceBasedActorInfoAccessor::ServiceBasedActorInfoAccessor(
|
||||
ServiceBasedGcsClient *client_impl)
|
||||
: client_impl_(client_impl) {}
|
||||
|
||||
Status ServiceBasedActorInfoAccessor::GetAll(
|
||||
std::vector<ActorTableData> *actor_table_data_list) {
|
||||
return Status::Invalid("Not implemented");
|
||||
}
|
||||
|
||||
Status ServiceBasedActorInfoAccessor::AsyncGet(
|
||||
const ActorID &actor_id, const OptionalItemCallback<rpc::ActorTableData> &callback) {
|
||||
RAY_LOG(DEBUG) << "Getting actor info, actor id = " << actor_id
|
||||
|
||||
@@ -70,8 +70,6 @@ class ServiceBasedActorInfoAccessor : public ActorInfoAccessor {
|
||||
|
||||
virtual ~ServiceBasedActorInfoAccessor() = default;
|
||||
|
||||
Status GetAll(std::vector<rpc::ActorTableData> *actor_table_data_list) override;
|
||||
|
||||
Status AsyncGet(const ActorID &actor_id,
|
||||
const OptionalItemCallback<rpc::ActorTableData> &callback) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user