CatapultServer
v0.5.0.1 (Elephant)
|
void Read(TIo &input, utils::BasicBaseValue< TValue, TTag, TBaseValue > &value)
Reads base value from input.
Definition: PodIoUtils.h:60
Timestamp Time
Timestamp.
Definition: TimestampedHash.h:52
Defines cache storage for cache with basic insert remove support.
Definition: src/catapult/cache/CacheStorageInclude.h:51
virtual void write(const RawBuffer &buffer)=0
Policy for saving and loading hash cache data.
Definition: HashCacheStorage.h:28
void Write(TIo &output, const utils::BasicBaseValue< TValue, TTag, TBaseValue > &value)
Writes base value into output.
Definition: PodIoUtils.h:30
Represents a hash with attached timestamp.
Definition: TimestampedHash.h:31
static void Save(const ValueType ×tampedHash, io::OutputStream &output)
Saves timestampedHash to output.
Definition: HashCacheStorage.cpp:27
Definition: AddressExtractionExtension.cpp:28
HashType Hash
Definition: TimestampedHash.h:56
typename HashCacheDescriptor ::ValueType ValueType
Cache value type.
Definition: src/catapult/cache/CacheStorageInclude.h:46
Writer interface.
Definition: Stream.h:41
static state::TimestampedHash Load(io::InputStream &input)
Loads a single value from input.
Definition: HashCacheStorage.cpp:32