C# Class Couchbase.Management.CouchbaseCluster

Inheritance: ICouchbaseCluster
Mostrar archivo Open project: e-travel/couchbase-net-client Class Usage Examples

Public Methods

Method Description
CouchbaseCluster ( ICouchbaseClientConfiguration config ) : System
CouchbaseCluster ( string configSectionName ) : System
CreateBucket ( Bucket bucket ) : void
CreateDesignDocument ( string bucket, string name, Stream source ) : bool
CreateDesignDocument ( string bucket, string name, string document ) : bool
DeleteBucket ( string bucketName ) : void
DeleteDesignDocument ( string bucket, string name ) : bool
FlushBucket ( string bucketName ) : void
ListBuckets ( ) : Couchbase.Management.Bucket[]
RetrieveDesignDocument ( string bucket, string name ) : string
TryListBuckets ( Bucket &buckets ) : bool

Private Methods

Method Description
getAuthority ( Uri uri ) : Uri
getBucketUri ( IList uris ) : Uri
getDesignDocumentUri ( string bucket, string name ) : Uri
getPoolsUri ( Uri bootstrapUri ) : Uri
validateDesignDocument ( string document, Newtonsoft.Json.Linq.JObject &jObj ) : void

Method Details

CouchbaseCluster() public method

public CouchbaseCluster ( ICouchbaseClientConfiguration config ) : System
config ICouchbaseClientConfiguration
return System

CouchbaseCluster() public method

public CouchbaseCluster ( string configSectionName ) : System
configSectionName string
return System

CreateBucket() public method

public CreateBucket ( Bucket bucket ) : void
bucket Bucket
return void

CreateDesignDocument() public method

public CreateDesignDocument ( string bucket, string name, Stream source ) : bool
bucket string
name string
source Stream
return bool

CreateDesignDocument() public method

public CreateDesignDocument ( string bucket, string name, string document ) : bool
bucket string
name string
document string
return bool

DeleteBucket() public method

public DeleteBucket ( string bucketName ) : void
bucketName string
return void

DeleteDesignDocument() public method

public DeleteDesignDocument ( string bucket, string name ) : bool
bucket string
name string
return bool

FlushBucket() public method

public FlushBucket ( string bucketName ) : void
bucketName string
return void

ListBuckets() public method

public ListBuckets ( ) : Couchbase.Management.Bucket[]
return Couchbase.Management.Bucket[]

RetrieveDesignDocument() public method

public RetrieveDesignDocument ( string bucket, string name ) : string
bucket string
name string
return string

TryListBuckets() public method

public TryListBuckets ( Bucket &buckets ) : bool
buckets Bucket
return bool