]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/cpp/src/plasma/common.fbs
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / cpp / src / plasma / common.fbs
CommitLineData
1d09f67e
TL
1// Licensed to the Apache Software Foundation (ASF) under one
2// or more contributor license agreements. See the NOTICE file
3// distributed with this work for additional information
4// regarding copyright ownership. The ASF licenses this file
5// to you under the Apache License, Version 2.0 (the
6// "License"); you may not use this file except in compliance
7// with the License. You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing,
12// software distributed under the License is distributed on an
13// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14// KIND, either express or implied. See the License for the
15// specific language governing permissions and limitations
16// under the License.
17
18namespace plasma.flatbuf;
19
20// Object information data structure.
21table ObjectInfo {
22 // Object ID of this object.
23 object_id: string;
24 // Number of bytes the content of this object occupies in memory.
25 data_size: long;
26 // Number of bytes the metadata of this object occupies in memory.
27 metadata_size: long;
28 // Number of clients using the objects.
29 ref_count: int;
30 // Unix epoch of when this object was created.
31 create_time: long;
32 // How long creation of this object took.
33 construct_duration: long;
34 // Hash of the object content. If the object is not sealed yet this is
35 // an empty string.
36 digest: string;
37 // Specifies if this object was deleted or added.
38 is_deletion: bool;
39}