C# 클래스 SmartSync.SmartSyncStateOperations

파일 보기 프로젝트 열기: projectkudu/KuduCalf

공개 메소드들

메소드 설명
CreatePublisher ( PublisherState initial, bool replaceExisting = false ) : bool
CreateSubscriber ( SubscriberState initial, bool replaceExisting = false ) : bool
Delete ( string id ) : void
GarbageCollectExpiredAgents ( ) : void
GetPublisher ( string id ) : PublisherState
GetPublishers ( ) : IEnumerable
GetPublishersByPrefix ( string id ) : IEnumerable
GetSubcriberByPrefix ( string id ) : IEnumerable
GetSubcribers ( ) : IEnumerable
GetSubscriber ( string id ) : SubscriberState
Initialize ( bool force = false ) : bool
NotAtTargetState ( ) : IEnumerable
UpdatePublisher ( string id, Action act ) : void
UpdateSubscriber ( string id, Action act ) : void
WaitForStateChange ( System.TimeSpan timeout ) : bool

보호된 메소드들

메소드 설명
ReadModifyWriteState ( Action act ) : void
ReadState ( ) : SmartSyncState

비공개 메소드들

메소드 설명
CreateAgent ( AgentState init, bool replaceExisiting ) : bool
DeleteAgent ( string id ) : void
GetAgent ( string id ) : AgentState
GetAgentsByPrefix ( string id ) : IEnumerable
UpdateAgent ( string id, Action act ) : void

메소드 상세

CreatePublisher() 공개 메소드

public CreatePublisher ( PublisherState initial, bool replaceExisting = false ) : bool
initial PublisherState
replaceExisting bool
리턴 bool

CreateSubscriber() 공개 메소드

public CreateSubscriber ( SubscriberState initial, bool replaceExisting = false ) : bool
initial SubscriberState
replaceExisting bool
리턴 bool

Delete() 공개 메소드

public Delete ( string id ) : void
id string
리턴 void

GarbageCollectExpiredAgents() 공개 메소드

public GarbageCollectExpiredAgents ( ) : void
리턴 void

GetPublisher() 공개 메소드

public GetPublisher ( string id ) : PublisherState
id string
리턴 PublisherState

GetPublishers() 공개 메소드

public GetPublishers ( ) : IEnumerable
리턴 IEnumerable

GetPublishersByPrefix() 공개 메소드

public GetPublishersByPrefix ( string id ) : IEnumerable
id string
리턴 IEnumerable

GetSubcriberByPrefix() 공개 메소드

public GetSubcriberByPrefix ( string id ) : IEnumerable
id string
리턴 IEnumerable

GetSubcribers() 공개 메소드

public GetSubcribers ( ) : IEnumerable
리턴 IEnumerable

GetSubscriber() 공개 메소드

public GetSubscriber ( string id ) : SubscriberState
id string
리턴 SubscriberState

Initialize() 공개 추상적인 메소드

public abstract Initialize ( bool force = false ) : bool
force bool
리턴 bool

NotAtTargetState() 공개 메소드

public NotAtTargetState ( ) : IEnumerable
리턴 IEnumerable

ReadModifyWriteState() 보호된 추상적인 메소드

protected abstract ReadModifyWriteState ( Action act ) : void
act Action
리턴 void

ReadState() 보호된 추상적인 메소드

protected abstract ReadState ( ) : SmartSyncState
리턴 SmartSyncState

UpdatePublisher() 공개 메소드

public UpdatePublisher ( string id, Action act ) : void
id string
act Action
리턴 void

UpdateSubscriber() 공개 메소드

public UpdateSubscriber ( string id, Action act ) : void
id string
act Action
리턴 void

WaitForStateChange() 공개 추상적인 메소드

public abstract WaitForStateChange ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
리턴 bool