xrpld
Loading...
Searching...
No Matches
xrpl::TaggedCacheTest Struct Reference
Inheritance diagram for xrpl::TaggedCacheTest:
Collaboration diagram for xrpl::TaggedCacheTest:

Public Types

using Value = std::string
using Cache = TaggedCache<Key, Value>
using Key = LedgerIndex

Public Attributes

Cache cache {"test", kTargetSize, kExpiration, clock, journal}
beast::Journal const journal {TestSink::instance()}
TestStopwatch clock
 ManualClock starts at zero.

Static Public Attributes

static constexpr std::chrono::seconds kExpiration {1}
static constexpr int kTargetSize = 1

Detailed Description

Definition at line 32 of file TaggedCache.cpp.

Member Typedef Documentation

◆ Value

Definition at line 34 of file TaggedCache.cpp.

◆ Cache

Definition at line 35 of file TaggedCache.cpp.

◆ Key

Definition at line 22 of file TaggedCache.cpp.

Member Data Documentation

◆ cache

Cache xrpl::TaggedCacheTest::cache {"test", kTargetSize, kExpiration, clock, journal}

Definition at line 37 of file TaggedCache.cpp.

◆ kExpiration

std::chrono::seconds xrpl::TaggedCacheTestBase::kExpiration {1}
staticconstexprinherited

Definition at line 25 of file TaggedCache.cpp.

◆ kTargetSize

int xrpl::TaggedCacheTestBase::kTargetSize = 1
staticconstexprinherited

Definition at line 26 of file TaggedCache.cpp.

◆ journal

beast::Journal const xrpl::TaggedCacheTestBase::journal {TestSink::instance()}
inherited

Definition at line 28 of file TaggedCache.cpp.

◆ clock

TestStopwatch xrpl::TaggedCacheTestBase::clock
inherited

ManualClock starts at zero.

Definition at line 29 of file TaggedCache.cpp.