Method | Description | |
---|---|---|
ClearAll ( ) : void |
Clears both in and out buffers.
|
|
ClearOut ( ) : void |
Clears the out buffer.
|
|
ClearStream ( Stream stream ) : void | ||
Dispose ( ) : void | ||
EventStore ( string dir ) : System |
Initializes a new instance of the DeltaDNA.EventStore class.
|
|
FlushBuffers ( ) : void |
Flushs the buffers to disk.
|
|
Push ( string obj ) : bool |
Add a new event to the in buffer.
|
|
PushEvent ( string obj, Stream stream ) : bool | ||
Read ( ) : List |
Reads events from the out buffer.
|
|
ReadEvents ( Stream stream, IList |
||
Swap ( ) : bool |
Swap the in and out buffers over.
|
|
SwapStreams ( Stream &sin, Stream &sout ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
InitialiseFileStreams ( string dir ) : bool |
public static ClearStream ( Stream stream ) : void | ||
stream | Stream | |
return | void |
public EventStore ( string dir ) : System | ||
dir | string | Full path on the filesystem where to create the files. |
return | System |
public static PushEvent ( string obj, Stream stream ) : bool | ||
obj | string | |
stream | Stream | |
return | bool |
public static ReadEvents ( Stream stream, IList |
||
stream | Stream | |
events | IList |
|
return | void |
public static SwapStreams ( Stream &sin, Stream &sout ) : void | ||
sin | Stream | |
sout | Stream | |
return | void |