Simple supervision strategies.
Copyright 2011-2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.| permanent_worker_spec/1 | |
| permanent_worker_spec/2 | |
| supervisor_spec/1 | |
| supervisor_spec/2 | |
| supervisor_supervisor_strat/1 | Return our default spec for supervisors which supervise other supervisors. |
| transient_worker_spec/1 | |
| transient_worker_spec/2 | |
| worker_supervisor_strat/1 | Return our default spec for supervisors which supervise workers. |
permanent_worker_spec(M) -> any()
permanent_worker_spec(M, A) -> any()
supervisor_spec(M) -> any()
supervisor_spec(M, A) -> any()
supervisor_supervisor_strat(Specs) -> any()
Return our default spec for supervisors which supervise other supervisors. Propagates crashes upwards in the tree.
transient_worker_spec(M) -> any()
transient_worker_spec(M, A) -> any()
worker_supervisor_strat(Specs) -> any()
Return our default spec for supervisors which supervise workers. Propagates crashes which occur more than four times per hour upwards.
Generated by EDoc