Search
Preparing search index...
The search index is not available
@atomist/automation-client
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"internal/event/InMemoryEventStore"
InMemoryEventStore
Class InMemoryEventStore
Simple {EventStore} implementation that stores events in memory.
Hierarchy
InMemoryEventStore
Implements
EventStore
Index
Constructors
constructor
Properties
command
Cache
command
Ser
event
Cache
event
Ser
message
Cache
Methods
command
Series
commands
event
Series
events
messages
record
Command
record
Event
record
Message
Constructors
constructor
new
InMemory
Event
Store
(
)
:
InMemoryEventStore
Returns
InMemoryEventStore
Properties
Private
Readonly
command
Cache
command
Cache
:
LRUMap
<
CacheKey
,
CommandIncoming
>
Private
Readonly
command
Ser
command
Ser
:
RRD
= new RRD(60 * 5, 12 * 3)
Private
Readonly
event
Cache
event
Cache
:
LRUMap
<
CacheKey
,
EventIncoming
>
Private
Readonly
event
Ser
event
Ser
:
RRD
= new RRD(60 * 5, 12 * 3)
Private
Readonly
message
Cache
message
Cache
:
LRUMap
<
CacheKey
,
any
>
Methods
command
Series
command
Series
(
)
:
[
number
[]
,
number
[]
]
Returns
[
number
[]
,
number
[]
]
commands
commands
(
from
?:
number
)
:
any
[]
Parameters
Default value
from:
number
= -1
Returns
any
[]
event
Series
event
Series
(
)
:
[
number
[]
,
number
[]
]
Returns
[
number
[]
,
number
[]
]
events
events
(
from
?:
number
)
:
any
[]
Parameters
Default value
from:
number
= -1
Returns
any
[]
messages
messages
(
from
?:
number
)
:
any
[]
Parameters
Default value
from:
number
= -1
Returns
any
[]
record
Command
record
Command
(
command
:
CommandIncoming
)
:
string
Parameters
command:
CommandIncoming
Returns
string
record
Event
record
Event
(
event
:
EventIncoming
)
:
string
Parameters
event:
EventIncoming
Returns
string
record
Message
record
Message
(
id
:
string
, correlationId
:
string
, message
:
any
)
:
string
Parameters
id:
string
correlationId:
string
message:
any
Returns
string
Globals
"internal/event/
InMemory
Event
Store"
Count
In
Memory
Event
Store
constructor
command
Cache
command
Ser
event
Cache
event
Ser
message
Cache
command
Series
commands
event
Series
events
messages
record
Command
record
Event
record
Message
RRD
Cache
Key
hide
Secrets
Generated using
TypeDoc
Simple {EventStore} implementation that stores events in memory.