Class Collector {ANSI C++} derived from: DmapLoggerSnapshotConnectionRACE_SnapshotCreatorCorrespondingCollector

Documentation
collects key/Value Pairs - Snapshots , generates Dumpables
Note: for multiple Types we would separate the Collector in
a Collector and a Container for each types.


Parent Packagekeyvalue_exampleAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Assigned Componentskeyvalue_example


Nested ClassesTreeEntry_tKVTreeImpl


Operations
NameSignatureClass
Collector--Not Named-- Collector (const char * rumpfpfad, int genlog = 0)Collector
~Collector--Not Named-- <<virtual>> ~Collector ()Collector
openint <<virtual>> open ()Collector
closeint <<virtual>> close ()Collector
fetchint <<virtual>> fetch (Gdat&& key, Gdat&& val)Collector
storeint <<virtual>> store (Gdat&& key, Gdat&& value, Dmapflag flag)Collector
asciidumpvoid <<virtual>> asciidump (std::ostream& str)Collector
Checkpointvoid <<virtual>> Checkpoint ()Collector
Checkpointvoid Checkpoint (time_t timestamp)Collector
SetOffsetvoid <<virtual>> SetOffset (RACE_LogfileOffset offset, time_t timestamp)Collector
InformDiscardvoid <<virtual>> InformDiscard (time_t timestamp)Collector
KeyValueInsertCallbackvoid <<virtual>> KeyValueInsertCallback (const Gdat& key, RACE_LogfileOffset off)Collector
KeyValueDiscardCallbackvoid <<virtual>> KeyValueDiscardCallback (const Gdat& key)Collector
GetPendingTotalint <<virtual>> GetPendingTotal ()Collector
GenNewEntryRACE_SnapshotQueue::Entry * <<virtual>> GenNewEntry (time_t timestamp, int pending)Collector
IncrPendingvoid IncrPending ()Collector
DecrPendingvoid DecrPending ()Collector
IncrSnapshotPendingvoid IncrSnapshotPending ()Collector
DecrSnapshotPendingvoid DecrSnapshotPending ()Collector
IncrWorkingvoid IncrWorking ()Collector
DecrWorkingvoid DecrWorking ()Collector
GetWorkingint GetWorking ()Collector
CheckRightToExistbool <<virtual>> CheckRightToExist ()Collector
storeint store (Gdat&& key, Timestamp_t timestamp, Gdat&& value, Dmapflag flag)Collector
insertint insert (KVDumpable** kvd)Collector
RewriteAllAndClearvoid RewriteAllAndClear ()Collector
releasevoid <<virtual>> release ()Collector
store_iint store_i (Gdat&& key, Timestamp_t timestamp, Gdat&& value, Dmapflag flag)Collector
openint <<abstract>> open ()Dmap
closeint <<abstract>> close ()Dmap
fetchint <<abstract>> fetch (Gdat&& key, Gdat&& val)Dmap
storeint <<abstract>> store (Gdat&& key, Gdat&& value, Dmapflag flag)Dmap
asciidumpvoid <<abstract>> asciidump (std::ostream& str)Dmap
Checkpointvoid <<abstract>> Checkpoint ()Dmap
releasevoid <<abstract>> release ()Dmap
SetOffsetvoid <<virtual>> SetOffset (RACE_LogfileOffset offset, time_t timestamp)LoggerSnapshotConnection
InformDiscardvoid <<virtual>> InformDiscard (time_t timestamp)LoggerSnapshotConnection
KeyValueInsertCallbackvoid <<virtual>> KeyValueInsertCallback (const Gdat& key, RACE_LogfileOffset off)LoggerSnapshotConnection
KeyValueDiscardCallbackvoid <<virtual>> KeyValueDiscardCallback (const Gdat& key)LoggerSnapshotConnection
~LoggerSnapshotConnection--Not Named-- <<virtual>> ~LoggerSnapshotConnection ()LoggerSnapshotConnection
GetPendingTotalint <<virtual>> GetPendingTotal ()RACE_SnapshotCreator
GetPendingForYouint <<virtual>> GetPendingForYou ()RACE_SnapshotCreator
GenNewEntryRACE_SnapshotQueue::Entry * <<abstract>> GenNewEntry (time_t timestamp, int pending)RACE_SnapshotCreator
~RACE_SnapshotCreator--Not Named-- <<virtual>> ~RACE_SnapshotCreator ()RACE_SnapshotCreator
RewriteAllAndClearvoid <<abstract>> RewriteAllAndClear ()CorrespondingCollector


Attributes
NameClassTypeInitial Value
rumpfpfad_Collectorchar [128] 
mutex_CollectorACE_Thread_Mutex 
dirty_Collectorbool 
pending_CollectorACE_Atomic_Op<ACE_Thread_Mutex, long> 
pendingsnapshots_CollectorACE_Atomic_Op<ACE_Thread_Mutex, long> 
working_CollectorACE_Atomic_Op<ACE_Thread_Mutex, long> 
refcount_CollectorACE_Atomic_Op<ACE_Thread_Mutex, long> 
genlog_Collectorint 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--Collectorlogfile_RACE_LogfileBase
--Not Named----Not Named--Collectorlogger_RACE_Logger
--Not Named----Not Named--Collectorkvtree_KVTreeImpl
--Not Named----Not Named--Collectorsnapshotdumpable_KVSnapshotDumpable
--Not Named----Not Named--Collectorsnapshottrigger_: ::RACE_SnapshotTriggerRACE_SnapshotTrigger
--Not Named--pcd_Collector--Not Named--KVSSnapshotEntry
--Not Named----Not Named--Collectorinformsnapshot_RACE_Depot
--Not Named--coll_Collector--Not Named--KVFeedingSemantik
--Not Named--lsc_LoggerSnapshotConnection--Not Named--KVDumpable
--Not Named--lsc_LoggerSnapshotConnection--Not Named--KVSnapshotDumpable
--Not Named--mp_snapcreatorRACE_SnapshotCreator--Not Named--RACE_SnapshotTrigger
--Not Named--collector_CorrespondingCollector--Not Named--RACE_Depot


Generalization Relationships
NameClassSupplier
--Not Named--CollectorDmap
--Not Named--CollectorLoggerSnapshotConnection
--Not Named--CollectorRACE_SnapshotCreator
--Not Named--CollectorCorrespondingCollector


Objects:Collector:Collector:Collector