C# Class Akka.Remote.EndpointRegistry

Not threadsafe - only to be used in HeadActor
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
AddressForWriter ( IActorRef writer ) : Akka.Actor.Address
HasWriteableEndpointFor ( Akka.Actor.Address address ) : bool
IsQuarantined ( Akka.Actor.Address address, int uid ) : bool
IsReadOnly ( IActorRef endpoint ) : bool
IsWritable ( IActorRef endpoint ) : bool
MarkAsFailed ( IActorRef endpoint, Akka.Remote.Deadline timeOfRelease ) : void

Marking an endpoint as failed means that we will not try to connect to the remote system within the gated period but it is ok for the remote system to try to connect with us (inbound-only.)

MarkAsQuarantined ( Akka.Actor.Address address, int uid, Akka.Remote.Deadline timeOfRelease ) : void
Prune ( ) : void
ReadOnlyEndpointFor ( Akka.Actor.Address address ) : int>.Tuple
RefuseUid ( Akka.Actor.Address address ) : int?
RegisterReadOnlyEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid ) : IActorRef
RegisterWritableEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid, int refuseUid ) : IActorRef
RegisterWritableEndpointUid ( Akka.Actor.Address remoteAddress, int uid ) : void
RemovePolicy ( Akka.Actor.Address address ) : void
UnregisterEndpoint ( IActorRef endpoint ) : void
WritableEndpointWithPolicyFor ( Akka.Actor.Address address ) : EndpointManager.EndpointPolicy

Private Methods

Méthode Description
PruneFilterFunction ( EndpointManager policy ) : bool

Internal function used for filtering endpoints that need to be pruned due to non-recovery past their deadlines

Method Details

AddressForWriter() public méthode

public AddressForWriter ( IActorRef writer ) : Akka.Actor.Address
writer IActorRef
Résultat Akka.Actor.Address

HasWriteableEndpointFor() public méthode

public HasWriteableEndpointFor ( Akka.Actor.Address address ) : bool
address Akka.Actor.Address
Résultat bool

IsQuarantined() public méthode

public IsQuarantined ( Akka.Actor.Address address, int uid ) : bool
address Akka.Actor.Address
uid int
Résultat bool

IsReadOnly() public méthode

public IsReadOnly ( IActorRef endpoint ) : bool
endpoint IActorRef
Résultat bool

IsWritable() public méthode

public IsWritable ( IActorRef endpoint ) : bool
endpoint IActorRef
Résultat bool

MarkAsFailed() public méthode

Marking an endpoint as failed means that we will not try to connect to the remote system within the gated period but it is ok for the remote system to try to connect with us (inbound-only.)
public MarkAsFailed ( IActorRef endpoint, Akka.Remote.Deadline timeOfRelease ) : void
endpoint IActorRef
timeOfRelease Akka.Remote.Deadline
Résultat void

MarkAsQuarantined() public méthode

public MarkAsQuarantined ( Akka.Actor.Address address, int uid, Akka.Remote.Deadline timeOfRelease ) : void
address Akka.Actor.Address
uid int
timeOfRelease Akka.Remote.Deadline
Résultat void

Prune() public méthode

public Prune ( ) : void
Résultat void

ReadOnlyEndpointFor() public méthode

public ReadOnlyEndpointFor ( Akka.Actor.Address address ) : int>.Tuple
address Akka.Actor.Address
Résultat int>.Tuple

RefuseUid() public méthode

public RefuseUid ( Akka.Actor.Address address ) : int?
address Akka.Actor.Address
Résultat int?

RegisterReadOnlyEndpoint() public méthode

public RegisterReadOnlyEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid ) : IActorRef
address Akka.Actor.Address
endpoint IActorRef
uid int
Résultat IActorRef

RegisterWritableEndpoint() public méthode

public RegisterWritableEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid, int refuseUid ) : IActorRef
address Akka.Actor.Address
endpoint IActorRef
uid int
refuseUid int
Résultat IActorRef

RegisterWritableEndpointUid() public méthode

public RegisterWritableEndpointUid ( Akka.Actor.Address remoteAddress, int uid ) : void
remoteAddress Akka.Actor.Address
uid int
Résultat void

RemovePolicy() public méthode

public RemovePolicy ( Akka.Actor.Address address ) : void
address Akka.Actor.Address
Résultat void

UnregisterEndpoint() public méthode

public UnregisterEndpoint ( IActorRef endpoint ) : void
endpoint IActorRef
Résultat void

WritableEndpointWithPolicyFor() public méthode

public WritableEndpointWithPolicyFor ( Akka.Actor.Address address ) : EndpointManager.EndpointPolicy
address Akka.Actor.Address
Résultat EndpointManager.EndpointPolicy