C# Class Marten.Schema.Identity.Sequences.HiloSequence

Inheritance: ISequence
显示文件 Open project: JasperFx/marten Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AdvanceToNextHi ( ) : void
AdvanceValue ( ) : long
HiloSequence ( IConnectionFactory factory, StoreOptions options, string entityName, Marten.Schema.Identity.Sequences.HiloSettings settings ) : System
NextInt ( ) : int
NextLong ( ) : long
SetFloor ( long floor ) : void
ShouldAdvanceHi ( ) : bool

Method Details

AdvanceToNextHi() public method

public AdvanceToNextHi ( ) : void
return void

AdvanceValue() public method

public AdvanceValue ( ) : long
return long

HiloSequence() public method

public HiloSequence ( IConnectionFactory factory, StoreOptions options, string entityName, Marten.Schema.Identity.Sequences.HiloSettings settings ) : System
factory IConnectionFactory
options StoreOptions
entityName string
settings Marten.Schema.Identity.Sequences.HiloSettings
return System

NextInt() public method

public NextInt ( ) : int
return int

NextLong() public method

public NextLong ( ) : long
return long

SetFloor() public method

public SetFloor ( long floor ) : void
floor long
return void

ShouldAdvanceHi() public method

public ShouldAdvanceHi ( ) : bool
return bool