public class PrebufferWriter<TKey, TValue> : DisposableLoggingClassBase
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>
Public Class PrebufferWriter(Of TKey As {New, SnapTypeBase(Of TKey)}, TValue As {New, SnapTypeBase(Of TValue)})
Inherits DisposableLoggingClassBasegeneric<typename TKey, typename TValue>
where TKey : gcnew(), SnapTypeBase<TKey>
where TValue : gcnew(), SnapTypeBase<TValue>
public ref class PrebufferWriter : public DisposableLoggingClassBase| PrebufferWriterTKey, TValue | Creates a pre-stage writer. |
| LatestTransactionId | Gets the latest transaction id which is a sequential counter based on the number of insert operations that have occured. |
| Log |
The LogPublisher for logging messages.
(Inherited from DisposableLoggingClassBase) |
| CheckDisposed |
Checks if the class has been disposed, throws an exception if this is the case.
(Inherited from DisposableLoggingClassBase) |
| Commit | Triggers a rollover if the provided transaction id has not yet been triggered. This method does not block |
| Dispose |
Releases all the resources used by the DisposableLoggingClassBase object.
(Inherited from DisposableLoggingClassBase) |
| Dispose(Boolean) |
Disposes the underlying queues contained in this class.
This method is not thread safe.
It is assumed this will be called after Stop.
(Overrides Dispose(Boolean)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize |
This code is here to detect when finalizers are called rather than a class be properly disposed.
(Inherited from DisposableLoggingClassBase) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Stop | Stop all writing to this class. Once stopped, it cannot be resumed. All data is then immediately flushed to the output. This method calls Dispose() |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Write | Writes the provided key/value to the prebuffer |