| 98 | bool exists() { return _exists; } |
| 99 | |
| 100 | void debug(std::ostream &out) { |
| 101 | out << "_size is " << _size << std::endl; |
| 102 | out << "seeds is: ("; |
| 103 | for (std::map<uint64_t, unsigned int>::iterator i = seeds.begin(); |
| 104 | i != seeds.end(); |
| 105 | ++i) { |
| 106 | out << "[" << i->first << "," << i->second << "], "; |
| 107 | } |
| 108 | out << ")" << std::endl; |
| 109 | out << "written is " << written << std::endl; |
| 110 | out << "_exists is " << _exists << std::endl; |
| 111 | } |
| 112 | |
| 113 | void encode(bufferlist &bl) const { |
| 114 | using ceph::encode; |
no test coverage detected