mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
Convert local scheduler messages to flatbuffers (#340)
* use flatbuffer messages for local scheduler * make sure constructor gets called for C++ object ObjectInfoT * fix typo * fix Robert's comments * Small change to actor test. * fix valgrind error * linting * free notification * fix * valgrind * fix valgrind * fix other bugs * valgrind fix * fixes * more fixes * Small changes to comments.
This commit is contained in:
committed by
Robert Nishihara
parent
4af0aa6258
commit
068429ffd8
@@ -49,6 +49,24 @@ table TaskInfo {
|
||||
required_resources: [double];
|
||||
}
|
||||
|
||||
// Object information data structure.
|
||||
table ObjectInfo {
|
||||
// Object ID of this object.
|
||||
object_id: string;
|
||||
// Number of bytes the content of this object occupies in memory.
|
||||
data_size: long;
|
||||
// Number of bytes the metadata of this object occupies in memory.
|
||||
metadata_size: long;
|
||||
// Unix epoch of when this object was created.
|
||||
create_time: long;
|
||||
// How long creation of this object took.
|
||||
construct_duration: long;
|
||||
// Hash of the object content.
|
||||
digest: string;
|
||||
// Specifies if this object was deleted or added.
|
||||
is_deletion: bool;
|
||||
}
|
||||
|
||||
root_type TaskInfo;
|
||||
|
||||
table SubscribeToNotificationsReply {
|
||||
|
||||
Reference in New Issue
Block a user