C# Class Lob.NHibernate.Providers.FileSystemCas.FileSystemCasConnection

Inheritance: AbstractExternalBlobConnection
显示文件 Open project: bittercoder/Lob Class Usage Examples

Public Methods

Method Description
Delete ( byte contentIdentifier ) : void
Equals ( IExternalBlobConnection connection ) : bool
FileSystemCasConnection ( string storagePath ) : System
FileSystemCasConnection ( string storagePath, string hashName ) : System
GarbageCollect ( ICollection livingBlobIdentifiers, System.DateTime createdBefore ) : void
GetAllIdentifiersInFolderCreatedBefore ( System.DateTime createdBefore ) : IEnumerable
GetPath ( byte contentIdentifier ) : string
OpenReader ( byte contentIdentifier ) : Stream
OpenWriter ( ) : ExternalBlobWriter

Private Methods

Method Description
ContainsIdentifier ( IEnumerable allIdentifiers, byte identifierToFind ) : bool
CreateFolder ( byte contentIdentifier ) : void
CreateIdentifier ( byte firstByte, byte secondByte, string file ) : byte[]
DeleteFolder ( byte contentIdentifier ) : void

Method Details

Delete() public method

public Delete ( byte contentIdentifier ) : void
contentIdentifier byte
return void

Equals() public method

public Equals ( IExternalBlobConnection connection ) : bool
connection IExternalBlobConnection
return bool

FileSystemCasConnection() public method

public FileSystemCasConnection ( string storagePath ) : System
storagePath string
return System

FileSystemCasConnection() public method

public FileSystemCasConnection ( string storagePath, string hashName ) : System
storagePath string
hashName string
return System

GarbageCollect() public method

public GarbageCollect ( ICollection livingBlobIdentifiers, System.DateTime createdBefore ) : void
livingBlobIdentifiers ICollection
createdBefore System.DateTime
return void

GetAllIdentifiersInFolderCreatedBefore() public method

public GetAllIdentifiersInFolderCreatedBefore ( System.DateTime createdBefore ) : IEnumerable
createdBefore System.DateTime
return IEnumerable

GetPath() public method

public GetPath ( byte contentIdentifier ) : string
contentIdentifier byte
return string

OpenReader() public method

public OpenReader ( byte contentIdentifier ) : Stream
contentIdentifier byte
return Stream

OpenWriter() public method

public OpenWriter ( ) : ExternalBlobWriter
return ExternalBlobWriter