C# Class Spark.Store.Mongo.MongoTransaction

Afficher le fichier Open project: raysearchlabs/spark

Méthodes publiques

Méthode Description
Begin ( ) : void
Commit ( ) : void
Insert ( BsonDocument document ) : void
InsertBatch ( IList documents ) : void
KeyOf ( BsonDocument document ) : BsonValue
KeysOf ( IEnumerable documents ) : IEnumerable
MarkExisting ( IEnumerable documents ) : void
MongoTransaction ( MongoCollection collection ) : System
ReadCurrent ( string resourceid ) : BsonDocument
RemoveQueued ( string transid ) : void
RemoveTransaction ( string transid ) : void
Rollback ( ) : void

Private Methods

Méthode Description
MarkExisting ( BsonDocument document ) : void
PrepareNew ( BsonDocument document ) : void
PrepareNew ( IEnumerable documents ) : void
Sweep ( string transid, string statusfrom, string statusto ) : void

Method Details

Begin() public méthode

public Begin ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

Insert() public méthode

public Insert ( BsonDocument document ) : void
document BsonDocument
Résultat void

InsertBatch() public méthode

public InsertBatch ( IList documents ) : void
documents IList
Résultat void

KeyOf() public méthode

public KeyOf ( BsonDocument document ) : BsonValue
document BsonDocument
Résultat BsonValue

KeysOf() public méthode

public KeysOf ( IEnumerable documents ) : IEnumerable
documents IEnumerable
Résultat IEnumerable

MarkExisting() public méthode

public MarkExisting ( IEnumerable documents ) : void
documents IEnumerable
Résultat void

MongoTransaction() public méthode

public MongoTransaction ( MongoCollection collection ) : System
collection MongoCollection
Résultat System

ReadCurrent() public méthode

public ReadCurrent ( string resourceid ) : BsonDocument
resourceid string
Résultat BsonDocument

RemoveQueued() public méthode

public RemoveQueued ( string transid ) : void
transid string
Résultat void

RemoveTransaction() public méthode

public RemoveTransaction ( string transid ) : void
transid string
Résultat void

Rollback() public méthode

public Rollback ( ) : void
Résultat void