From 023d7350843a0f7da0e78dee7864879a9e2cec58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Eisenf=C3=BChrer?= Date: Wed, 5 Feb 2020 17:39:00 +0100 Subject: [PATCH] Better timer message for method call --- .../Appserver/PersistenceContainer/TimedObjectInvoker.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AppserverIo/Appserver/PersistenceContainer/TimedObjectInvoker.php b/src/AppserverIo/Appserver/PersistenceContainer/TimedObjectInvoker.php index ee845d220..3f6bf7dcd 100644 --- a/src/AppserverIo/Appserver/PersistenceContainer/TimedObjectInvoker.php +++ b/src/AppserverIo/Appserver/PersistenceContainer/TimedObjectInvoker.php @@ -214,6 +214,8 @@ public function callTimeout(TimerInterface $timer, MethodInterface $timeoutMetho // check if the timeout method has been passed if ($timeoutMethod != null) { + \info(sprintf('Now invoke timed method "%s"', $timeoutMethod->getMethodName())); + // if yes, invoke it on the proxy $callback = array($instance, $timeoutMethod->getMethodName()); call_user_func_array($callback, array($timer)); @@ -222,6 +224,7 @@ public function callTimeout(TimerInterface $timer, MethodInterface $timeoutMetho // check if we've a default timeout method if ($this->defaultTimeoutMethod != null) { + \info(sprintf('Now invoke default method "%s"', $this->defaultTimeoutMethod->getMethodName())); // if yes, invoke it on the proxy $callback = array($instance, $this->defaultTimeoutMethod->getMethodName()); call_user_func_array($callback, array($timer)); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy