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

Public Types

using IntrPtrCache
using Key = LedgerIndex

Public Attributes

IntrPtrCache intrPtrCache {"IntrPtrTest", 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 209 of file TaggedCache.cpp.

Member Typedef Documentation

◆ IntrPtrCache

Initial value:

Definition at line 211 of file TaggedCache.cpp.

◆ Key

Definition at line 22 of file TaggedCache.cpp.

Member Data Documentation

◆ intrPtrCache

IntrPtrCache xrpl::IntrusiveTaggedCacheTest::intrPtrCache {"IntrPtrTest", kTargetSize, kExpiration, clock, journal}

Definition at line 218 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.