Interface StatefulWebServiceManager.Callback<T>

    • Method Detail

      • onTimeout

        void onTimeout​(@NotNull
                       T timedOutObject,
                       @NotNull
                       StatefulWebServiceManager<T> manager)
        Application has a chance to decide if the object should be unexported, or kept alive.

        The application should either unexport the object, or touch the object from within this callback. If no action is taken, the object will remain exported until it is manually unexported.

        Parameters:
        timedOutObject - The object that reached the time out.
        manager - The manager instance that you exported the object to.