C# 클래스 FoundationDB.Client.Fdb.Directory

Static helper class to open named partitions
파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client

공개 메소드들

메소드 설명
BrowseAsync ( [ db, [ parent, CancellationToken cancellationToken ) : FdbDirectorySubspace>>.Task

List and open the sub-directories of the given directory

OpenNamedPartitionAsync ( [ path, CancellationToken cancellationToken ) : Task

Open a named partition of the default cluster

OpenNamedPartitionAsync ( string clusterFile, string dbName, [ path, bool readOnly, CancellationToken cancellationToken ) : Task

Open a named partition of a specific cluster

메소드 상세

BrowseAsync() 공개 정적인 메소드

List and open the sub-directories of the given directory
public static BrowseAsync ( [ db, [ parent, CancellationToken cancellationToken ) : FdbDirectorySubspace>>.Task
db [ Database used for the operation
parent [ Parent directory
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
리턴 FdbDirectorySubspace>>.Task

OpenNamedPartitionAsync() 공개 정적인 메소드

Open a named partition of the default cluster
public static OpenNamedPartitionAsync ( [ path, CancellationToken cancellationToken ) : Task
path [ Path of the named partition to open
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
리턴 Task

OpenNamedPartitionAsync() 공개 정적인 메소드

Open a named partition of a specific cluster
public static OpenNamedPartitionAsync ( string clusterFile, string dbName, [ path, bool readOnly, CancellationToken cancellationToken ) : Task
clusterFile string Path to the 'fdb.cluster' file to use, or null for the default cluster file
dbName string Name of the database, or "DB" if not specified.
path [ Path of the named partition to open
readOnly bool If true, the database instance will only allow read operations
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
리턴 Task