Lines Matching defs:identifier

38     bool exists(Collections::Identifier identifier) const {
40 return exists_UNLOCKED(identifier);
43 bool isOpen(Collections::Identifier identifier) const {
45 expect_true(exists_UNLOCKED(identifier));
46 auto itr = map.find(identifier.getName());
50 bool isExclusiveOpen(Collections::Identifier identifier) const {
52 expect_true(exists_UNLOCKED(identifier));
53 auto itr = map.find(identifier.getName());
57 bool isDeleting(Collections::Identifier identifier) const {
59 expect_true(exists_UNLOCKED(identifier));
60 auto itr = map.find(identifier.getName());
64 bool isExclusiveDeleting(Collections::Identifier identifier) const {
66 expect_true(exists_UNLOCKED(identifier));
67 auto itr = map.find(identifier.getName());
71 bool isOpenAndDeleting(Collections::Identifier identifier) const {
73 expect_true(exists_UNLOCKED(identifier));
74 auto itr = map.find(identifier.getName());
144 bool exists_UNLOCKED(Collections::Identifier identifier) const {
145 auto itr = map.find(identifier.getName());
146 return itr != map.end() && itr->second->getUid() == identifier.getUid();
244 Collections::Identifier identifier) {
246 active.wlock().completeDeletion(vbA, identifier.getName());
247 lastCompleteDeletionArgs = identifier;
298 bool isOpen(Collections::Identifier identifier) {
299 return active.isOpen(identifier) && replica.isOpen(identifier);
302 bool isDeleting(Collections::Identifier identifier) {
303 return active.isDeleting(identifier) && replica.isDeleting(identifier);
306 bool isExclusiveOpen(Collections::Identifier identifier) {
307 return active.isExclusiveOpen(identifier) &&
308 replica.isExclusiveOpen(identifier);
311 bool isExclusiveDeleting(Collections::Identifier identifier) {
312 return active.isExclusiveDeleting(identifier) &&
313 replica.isExclusiveDeleting(identifier);
316 bool isOpenAndDeleting(Collections::Identifier identifier) {
317 return active.isOpenAndDeleting(identifier) &&
318 replica.isOpenAndDeleting(identifier);