Remove legacy Ray code. (#3121)

* Remove legacy Ray code.

* Fix cmake and simplify monitor.

* Fix linting

* Updates

* Fix

* Implement some methods.

* Remove more plasma manager references.

* Fix

* Linting

* Fix

* Fix

* Make sure class IDs are strings.

* Some path fixes

* Fix

* Path fixes and update arrow

* Fixes.

* linting

* Fixes

* Java fixes

* Some java fixes

* TaskLanguage -> Language

* Minor

* Fix python test and remove unused method signature.

* Fix java tests

* Fix jenkins tests

* Remove commented out code.
This commit is contained in:
Robert Nishihara
2018-10-26 13:36:58 -07:00
committed by Philipp Moritz
parent 055daf17a0
commit 658c14282c
289 changed files with 2460 additions and 40708 deletions
+4 -3
View File
@@ -88,7 +88,8 @@ class ObjectManager : public ObjectManagerInterface {
/// already exist in the local store.
/// \param callback The callback to invoke when objects are added to the local store.
/// \return Status of whether adding the subscription succeeded.
ray::Status SubscribeObjAdded(std::function<void(const ObjectInfoT &)> callback);
ray::Status SubscribeObjAdded(
std::function<void(const object_manager::protocol::ObjectInfoT &)> callback);
/// Subscribe to notifications of objects deleted from local store.
///
@@ -235,7 +236,7 @@ class ObjectManager : public ObjectManagerInterface {
/// Handle an object being added to this node. This adds the object to the
/// directory, pushes the object to other nodes if necessary, and cancels any
/// outstanding Pull requests for the object.
void HandleObjectAdded(const ObjectInfoT &object_info);
void HandleObjectAdded(const object_manager::protocol::ObjectInfoT &object_info);
/// Register object remove with directory.
void NotifyDirectoryObjectDeleted(const ObjectID &object_id);
@@ -328,7 +329,7 @@ class ObjectManager : public ObjectManagerInterface {
ConnectionPool connection_pool_;
/// Cache of locally available objects.
std::unordered_map<ObjectID, ObjectInfoT> local_objects_;
std::unordered_map<ObjectID, object_manager::protocol::ObjectInfoT> local_objects_;
/// This is used as the callback identifier in Pull for
/// SubscribeObjectLocations. We only need one identifier because we never need to