CernVM-FS
2.12.0
|
#include <sync_mediator.h>
Public Types | |
enum | PrintAction { kPrintDots, kPrintChanges } |
Public Member Functions | |
SyncDiffReporter (PrintAction print_action=kPrintChanges, unsigned int processing_dot_interval=100) | |
virtual void | OnInit (const history::History::Tag &from_tag, const history::History::Tag &to_tag) |
virtual void | OnStats (const catalog::DeltaCounters &delta) |
virtual void | OnAdd (const std::string &path, const catalog::DirectoryEntry &entry) |
virtual void | OnRemove (const std::string &path, const catalog::DirectoryEntry &entry) |
virtual void | OnModify (const std::string &path, const catalog::DirectoryEntry &entry_from, const catalog::DirectoryEntry &entry_to) |
void | CommitReport () |
Private Member Functions | |
void | PrintDots () |
void | AddImpl (const std::string &path) |
void | RemoveImpl (const std::string &path) |
void | ModifyImpl (const std::string &path) |
Private Attributes | |
PrintAction | print_action_ |
unsigned int | processing_dot_interval_ |
unsigned int | changed_items_ |
Definition at line 53 of file sync_mediator.h.
Enumerator | |
---|---|
kPrintDots | |
kPrintChanges |
Definition at line 55 of file sync_mediator.h.
|
inlineexplicit |
Definition at line 60 of file sync_mediator.h.
|
private |
Definition at line 868 of file sync_mediator.cc.
Referenced by OnAdd().
void publish::SyncDiffReporter::CommitReport | ( | ) |
|
private |
Definition at line 911 of file sync_mediator.cc.
Referenced by OnModify().
|
virtual |
|
virtual |
Definition at line 832 of file sync_mediator.cc.
|
virtual |
|
virtual |
|
virtual |
Definition at line 835 of file sync_mediator.cc.
|
private |
Definition at line 862 of file sync_mediator.cc.
Referenced by AddImpl(), ModifyImpl(), and RemoveImpl().
|
private |
Definition at line 889 of file sync_mediator.cc.
Referenced by OnRemove().
|
private |
Definition at line 87 of file sync_mediator.h.
Referenced by CommitReport(), OnAdd(), OnModify(), OnRemove(), and PrintDots().
|
private |
Definition at line 85 of file sync_mediator.h.
Referenced by AddImpl(), CommitReport(), ModifyImpl(), and RemoveImpl().
|
private |
Definition at line 86 of file sync_mediator.h.
Referenced by CommitReport(), and PrintDots().