@@ -300,6 +300,12 @@ def query(self, *, query: dict = None, caller: AuthToken = None,
300300 Returns:
301301 query response
302302 """
303+ @abstractmethod
304+ def execute_on_actor_thread (self , * , runnable : ABCActorRunnable ):
305+ """
306+ Execute on Actor Thread and Wait until response is processed
307+ @params runnable: reservation to be processed
308+ """
303309
304310 @abstractmethod
305311 def execute_on_actor_thread_and_wait (self , * , runnable : ABCActorRunnable ):
@@ -545,6 +551,19 @@ def close_by_rid(self, *, rid: ID):
545551 Exception in case of error
546552 """
547553
554+ @abstractmethod
555+ def close_delegation (self , * , did : str ):
556+ """
557+ Closes the delegation. Note: the delegation must have already been registered with the actor.
558+ This method may involve either a client or a server side action or both. When called on a broker,
559+ this method will only close the broker delegation.
560+
561+ Args:
562+ did: delegation id
563+ Raises:
564+ Exception in case of error
565+ """
566+
548567 @abstractmethod
549568 def close (self , * , reservation : ABCReservationMixin ):
550569 """
@@ -682,3 +701,19 @@ def unregister(self, *, reservation: ABCReservationMixin, rid: ID):
682701 Raises:
683702 Exception in case of error
684703 """
704+
705+ def get_asm_thread (self ):
706+ return None
707+
708+ @abstractmethod
709+ def remove_delegation (self , * , did : str ):
710+ """
711+ Removes the specified delegation. Note: the delegation must have already been registered with the actor.
712+ This method will unregister the reservation and remove it from the underlying database.
713+ Only closed and failed delegation can be removed.
714+
715+ Args:
716+ did: delegation id
717+ Raises:
718+ Exception if an error occurs or when trying to remove a delegation that is neither failed or closed.
719+ """
0 commit comments