Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LocalRepository Class
Fields Properties Methods Events


LocalRepository Class Members

The following tables list the members exposed by LocalRepository.

Public Constructors
 NameDescription
Public ConstructorOpen a specific local repository  
Top
Protected Fields
 NameDescription
Protected FieldThe log category  
Top
Public Properties
 NameDescription
Public PropertyA short end-user caption to display for the repository.  
Public Propertystatic (Shared in Visual Basic)Calculate the best path for the default  
Public PropertyAn extended end-user description of the repository.  
Public PropertyA unique id for this repository.  
Public PropertyIndicates if there are unsaved changes.  
Public PropertyIndicates if the database should log operations to Gibraltar or not.  
Public PropertyIndicates if the repository is read only (sessions can't be added or removed).  
Public PropertyThe unique name for this repository (typically the file name or URI).  
Public PropertyThe set of products, applications, and versions loaded into the repository  
Public PropertyThe set of all sessions in the repository.  
Public PropertyIndicates if the repository supports fragment files or not. Most do.  
Public PropertyA temporary path within the repository that can be used to store working data  
Top
Protected Properties
 NameDescription
Protected PropertyThe path on disk to the repository session locks  
Protected PropertyThe path on disk to the repository  
Protected PropertyThe current session cache  
Top
Public Methods
 NameDescription
Public MethodAdd a session (full file stream or fragment of a session) to the repository  
Public Methodstatic (Shared in Visual Basic)Calculate the best path for the log folder and the repository  
Public MethodRetrieves all the sessions that match the conditions defined by the specified predicate.  
Public MethodLoad a session by its Id  
Public MethodRetrieve the ids of the sessions files known locally for the specified session  
Public MethodLoad a session by its Id  
Public MethodFind the session fragments in our local repository for the specified session Id.  
Public MethodGet a generic stream for the contents of a session file  
Public Methodstatic (Shared in Visual Basic)Attempt to load the session header from the specified file, returning null if it can't be loaded  
Public MethodGet a generic stream for the contents of a session  
Public MethodOverloaded. Perform an immediate, synchronous refresh  
Public MethodOverloaded. Remove a session from the repository and all folders by its Id  
Public MethodOverloaded. Find if session data (more than just the header information) exists for a session with the provided Id  
Public MethodFind if a session exists with the provided Id  
Public MethodFind if the session is running with the provided Id  
Public MethodSet or clear the New flag for a sessions  
Public MethodSet or clear the New flag for a list of sessions  
Public MethodTry to get a stream pointing to a live file  
Top
Protected Methods
 NameDescription
Protected MethodCalled whenever the collection changes.  
Protected MethodCalled by the base class to refresh cached data  
Protected MethodImmediately update the cache from disk  
Top
Public Events
 NameDescription
Public EventRaised every time the sessions collection changes.  
Top
See Also