Beispiel #1
0
    def __init__(self, kind: str):
        self._kind = kind
        self._logger = log.create_logger(logging.INFO, context=PartitionActor)

        self._partition = {}
        self._reverse_partition = {}
        self._spawning_procs = {}
Beispiel #2
0
 def __init__(self):
     self._logger = log.create_logger(logging.INFO, context=Remote)
     self._server = None
     self._kinds = {}
     self._remote_config = None
     self._activator_pid = None
     self._endpoint_reader = None
Beispiel #3
0
 def __init__(self):
     self._logger = log.create_logger(logging.DEBUG,
                                      prefix='EndpointManager')
     self._connections = {}
     self._endpoint_supervisor = None
     self._endpoint_term_evn_sub = None
     self._endpoint_conn_evn_sub = None
Beispiel #4
0
 def __init__(self, props: 'Props', parent: PID) -> None:
     self._actor = None
     self._my_self = None
     self._props = props
     self._parent = parent
     self._empty_children = []
     self._extras = None
     self._message_or_envelope = None
     self._state = None
     self._logger = log.create_logger(logging.INFO, context=ActorContext)
     self._receive_timeout = timedelta()
Beispiel #5
0
 def __init__(self, batch_size):
     self._batch_size = batch_size
     self._system_messages = UnboundedMailboxQueue()
     self._user_messages = UnboundedMailboxQueue()
     self._suspended = False
     self._dispatcher = None
     self._invoker = None
     self._event = threading.Event()
     self._async_event = None
     self._loop = None
     self._logger = log.create_logger(logging.INFO,
                                      context=EndpointWriterMailbox)
Beispiel #6
0
 def __init__(self, address: str, channel_options: Dict[str, str],
              call_options, channel_credentials):
     self._serializer_id = None
     self._logger = log.create_logger(logging.INFO, context=EndpointWriter)
     self._client = None
     self._channel = None
     self._address = address
     self._channel_options = channel_options
     self._call_options = call_options
     self._channel_credentials = channel_credentials
     self._stream = None
     self._stream_writer = None
Beispiel #7
0
 def __init__(self):
     self._logger = log.create_logger(logging.INFO, context=PidCacheWatcher)
Beispiel #8
0
 def __init__(self):
     self._logger = log.create_logger(logging.DEBUG, context=ChildActor)
Beispiel #9
0
 def __init__(self):
     self._logger = log.create_logger(logging.INFO, context=Cluster)
     self._config = None
Beispiel #10
0
 def __init__(self, address):
     self._address = address
     self._behavior = Behavior(self.connected)
     self._logger = log.create_logger(logging.INFO, context=EndpointWatcher)
     self._watched = {}
Beispiel #11
0
 def __init__(self):
     self._subscriptions = {}
     self._logger = log.create_logger(logging.INFO, context=EventStream)
     self.subscribe(self.__process_dead_letters, DeadLetterEvent)