C# 클래스 Apache.NMS.ActiveMQ.Util.IdGenerator

파일 보기 프로젝트 열기: ThorTech/apache-nms 1 사용 예제들

공개 메소드들

메소드 설명
Compare ( String id1, String id2 ) : int

Does a proper compare on the ids

GenerateId ( ) : String

Generate a Unique Id

GenerateSanitizedId ( ) : String

Generate a unique ID - that is friendly for a URL or file system

GetSeedFromId ( String id ) : String

From a generated id - return the seed (i.e. minus the count)

GetSequenceFromId ( String id ) : long

From a generated id - return the generator count

IdGenerator ( String prefix ) : System

비공개 메소드들

메소드 설명
IdGenerator ( ) : System

메소드 상세

Compare() 공개 정적인 메소드

Does a proper compare on the ids
public static Compare ( String id1, String id2 ) : int
id1 String /// A ///
id2 String /// A ///
리턴 int

GenerateId() 공개 메소드

Generate a Unique Id
public GenerateId ( ) : String
리턴 String

GenerateSanitizedId() 공개 메소드

Generate a unique ID - that is friendly for a URL or file system
public GenerateSanitizedId ( ) : String
리턴 String

GetSeedFromId() 공개 정적인 메소드

From a generated id - return the seed (i.e. minus the count)
public static GetSeedFromId ( String id ) : String
id String /// A ///
리턴 String

GetSequenceFromId() 공개 정적인 메소드

From a generated id - return the generator count
public static GetSequenceFromId ( String id ) : long
id String /// A ///
리턴 long

IdGenerator() 공개 메소드

public IdGenerator ( String prefix ) : System
prefix String
리턴 System