object RemoteConnectionManager
- Alphabetic
- By Inheritance
- RemoteConnectionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ClusterConfig[K](clusterNodes: Set[(K, InetSocketAddress)]) extends Product with Serializable
- case class ConnectionFailure[K](connectionRequest: OutGoingConnectionRequest[K], err: Throwable) extends Product with Serializable
- case class ConnectionSuccess[F[_], K, M](encryptedConnection: EncryptedConnection[F, K, M]) extends Product with Serializable
- class HandledConnectionFinisher[F[_], K, M] extends AnyRef
- case class OutGoingConnectionRequest[K](key: K, address: InetSocketAddress, numberOfFailures: Int) extends Product with Serializable
- case class RetryConfig(initialDelay: FiniteDuration, backOffFactor: Long, maxDelay: FiniteDuration, randomJitterConfig: RandomJitterConfig, oppositeConnectionOverlap: FiniteDuration) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_], K, M](encryptedConnectionsProvider: EncryptedConnectionProvider[F, K, M], clusterConfig: ClusterConfig[K], retryConfig: RetryConfig)(implicit arg0: Concurrent[F], arg1: TaskLift[F], arg2: TaskLike[F], arg3: Timer[F], arg4: ContextShift[F], arg5: Codec[K], arg6: Codec[M], tracers: NetworkTracers[F, K, M]): Resource[F, RemoteConnectionManager[F, K, M]]
Connection manager for static topology cluster.
Connection manager for static topology cluster. It starts 3 concurrent backgrounds processes: 1. Calling process - tries to connect to remote nodes specified in cluster config. In case of failure, retries with exponential backoff. 2. Server process - reads incoming connections from server socket. Validates that incoming connections is from known remote peer specified in cluster config. 3. Message reading process - receives connections from both, Calling and Server processes, and for each connections start concurrent process reading messages from those connections. In case of some error on connections, it closes connection. In case of discovering that one of outgoing connections failed, it request Calling process to establish connection once again.
- encryptedConnectionsProvider
component which makes it possible to receive and acquire encrypted connections
- clusterConfig
static cluster topology configuration
- retryConfig
retry configuration for outgoing connections (incoming connections are not retried)
- def apply[F[_], K, M](connectionHandler: ConnectionHandler[F, K, M], localInfo: (K, InetSocketAddress))(implicit arg0: Sync[F], arg1: Codec[M]): RemoteConnectionManager[F, K, M]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object OutGoingConnectionRequest extends Serializable
- object RetryConfig extends Serializable
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated