Uses of Enum Class
org.apache.tika.pipes.core.RestartReason
Packages that use RestartReason
-
Uses of RestartReason in org.apache.tika.pipes.core
Methods in org.apache.tika.pipes.core that return RestartReasonModifier and TypeMethodDescriptionstatic RestartReasonReturns the enum constant of this class with the specified name.static RestartReason[]RestartReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.tika.pipes.core with parameters of type RestartReasonModifier and TypeMethodDescriptionlongPerClientServerManager.getRestartCount(RestartReason reason) longPipesParser.getRestartCount(RestartReason reason) Forked-server restarts performed so far forreason, summed over all servers.default longServerManager.getRestartCount(RestartReason reason) Restarts performed so far forreason; monotonic, never reset.longSharedServerManager.getRestartCount(RestartReason reason) voidPerClientServerManager.markServerForRestart(RestartReason reason, long ignoredGeneration) One client owns one manager here, sogenerationcarries no information a sibling could invalidate and is accepted only to satisfy the singleServerManagerspelling.voidServerManager.markServerForRestart(RestartReason reason, long generation) Marks the server for restart due to a fatal error, attributed toreason, but only ifgenerationis still current -- reports about a superseded process are dropped.voidSharedServerManager.markServerForRestart(RestartReason reason, long generation) Called by a client that received OOM or TIMEOUT: the process is exiting even if isRunning() still says otherwise; the next ensureRunning() restarts it. -
Uses of RestartReason in org.apache.tika.pipes.core.async
Methods in org.apache.tika.pipes.core.async with parameters of type RestartReasonModifier and TypeMethodDescriptionlongAsyncProcessor.getRestartCount(RestartReason reason) Restarts of this processor's own forks, summed over all servers, forreason.