Click or drag to resize

SynchronizationQueueTQueueEntry Class

Represents a generic synchronization queue
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.SQLite.SynchronizationSynchronizationQueueTQueueEntry

Namespace:  SanteDB.DisconnectedClient.SQLite.Synchronization
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public class SynchronizationQueue<TQueueEntry> : ISynchronizationQueue
where TQueueEntry : new(), SynchronizationQueueEntry

Type Parameters

TQueueEntry

[Missing <typeparam name="TQueueEntry"/> documentation for "T:SanteDB.DisconnectedClient.SQLite.Synchronization.SynchronizationQueue`1"]

The SynchronizationQueueTQueueEntry type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrent
Singleton
Top
Methods
  NameDescription
Public methodCount
Counts the number of objects in the current queue
Public methodDelete
Deletes the specified object from the queue
Public methodDequeue
Pop an item from the queue.
Public methodDequeueRaw
Pops the item off the stack
Public methodDeserializeObject
Deserialize the object
Public methodEnqueue
Enqueue the specified entry data
Public methodEnqueueRaw
Enqueue the specified entry
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Gets the specified queue item
Public methodGetAll
Get all objects from the queue
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeek
Peeks at the next item in the stack
Public methodPeekRaw
Peeks a raw row entry from the database.
Public methodQuery(ExpressionFuncTQueueEntry, Boolean, Int32, NullableInt32, Int32)
Query the specified object
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Query for matching records
Public methodRetry
Retry to queue the specified item
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventEnqueued
Fired after the data has been enqueued
Public eventEnqueuing
Fired when the data is about to be enqueued
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also