FailoverManager Protocol Reference
| Declared in | FailoverManager.h |
|---|
– onServerFailedWithConnectionInfo:failoverStatus:
required method
Needs to be invoked when a server fail occurs.
- (void)onServerFailedWithConnectionInfo:(id<TransportConnectionInfo>)connectionInfo failoverStatus:(FailoverStatus)statusDiscussion
Needs to be invoked when a server fail occurs.
Declared In
FailoverManager.h
– onServerChangedWithConnectionInfo:
required method
Needs to be invoked as soon as current server is changed.
- (void)onServerChangedWithConnectionInfo:(id<TransportConnectionInfo>)connectionInfoDiscussion
Needs to be invoked as soon as current server is changed.
Declared In
FailoverManager.h
– onServerConnectedWithConnectionInfo:
required method
Needs to be invoked as soon as connection to the current server is established.
- (void)onServerConnectedWithConnectionInfo:(id<TransportConnectionInfo>)connectionInfoDiscussion
Needs to be invoked as soon as connection to the current server is established.
Declared In
FailoverManager.h
– decisionOnFailoverStatus:
required method
Needs to be invoked to determine a decision that resolves the failover.
- (FailoverDecision *)decisionOnFailoverStatus:(FailoverStatus)statusParameters
failoverStatus |
Current status of the failover. |
|---|
Return Value
Decision which is meant to resolve the failover.
Discussion
Needs to be invoked to determine a decision that resolves the failover.
Declared In
FailoverManager.h
– setFailoverStrategy:
required method
strategy that will be used to resolve failovers.
- (void)setFailoverStrategy:(id<FailoverStrategy>)failoverStrategyParameters
failoverStrategy |
strategy that will be used to resolve failovers. |
|---|
See Also
Declared In
FailoverManager.h