C# Class Rhino.PersistentHashTable.HiLoVersionGenerator

Inheritance: IVersionGenerator
Afficher le fichier Open project: ayende/rhino-pht

Méthodes publiques

Méthode Description
HiLoVersionGenerator ( JET_INSTANCE instance, int capacity, string database ) : System

Private Methods

Méthode Description
GenerateNextHi ( ) : int

Only one thread may execute this at a given time. Note that this forces a NEW session and transaction, and doesn't use the existing one.

GenerateNextVersion ( ) : int

Method Details

HiLoVersionGenerator() public méthode

public HiLoVersionGenerator ( JET_INSTANCE instance, int capacity, string database ) : System
instance JET_INSTANCE
capacity int
database string
Résultat System