ArchiveListTKey, TValue Class

Manages the complete list of archive resources and the associated reading and writing that goes along with it.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class ArchiveList<TKey, TValue> : ArchiveList
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>
Inheritance
Object    DisposableLoggingClassBase    ArchiveList    ArchiveListTKey, TValue

Type Parameters

TKey
The key type used in the archive list.
TValue
The value type used in the archive list.

Constructors

ArchiveListTKey, TValue Creates an ArchiveList

Properties

Log The LogPublisher for logging messages.
(Inherited from DisposableLoggingClassBase)

Methods

AcquireEditLock Returns an IDisposable class that can be used to edit the contents of this list. WARNING: Make changes quickly and dispose the returned class. All calls to this class are blocked while editing this class.
AttachFileOrPath Attaches the supplied paths or files.
(Overrides ArchiveListAttachFileOrPath(IEnumerableString))
CheckDisposed Checks if the class has been disposed, throws an exception if this is the case.
(Inherited from DisposableLoggingClassBase)
CreateNewClientResources Creates an object that can be used to get updated snapshots from this archive list. Client must call Dispose method when finished with these resources as they will not automatically be reclaimed by the garbage collector. Class will not be initialized until calling UpdateSnapshot.
Dispose Releases all the resources used by the DisposableLoggingClassBase object.
(Inherited from DisposableLoggingClassBase)
Dispose(Boolean) Releases the unmanaged resources used by the log source base object and optionally releases the managed resources.
(Overrides Dispose(Boolean))
EqualsDetermines 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)
GetAllAttachedFiles Gets a complete list of all archive files.
(Overrides ArchiveListGetAllAttachedFiles)
GetFullStatus Appends the status of the files in the ArchiveList to the provided StringBuilder.
(Overrides ArchiveListGetFullStatus(StringBuilder, Int32))
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InternalAcquireEditLock Necessary to provide shadow method of archive list.
(Overrides ArchiveListInternalAcquireEditLock)
IsFileBeingUsed Determines if the provided file is currently in use by any resource.
LoadFiles Loads the specified files into the archive list.
(Overrides ArchiveListLoadFiles(IEnumerableString))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also