Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.net
Interface ServiceFailurePolicy

    public interface ServiceFailurePolicy

ServiceFailurePolicy describes the response to be taken when a service fails to stop due to a failure condition (e.g. deadlock).

Since:
  Coherence 3.5
Author:
  rhl

Method Summary
`void` | `onServiceFailed(Cluster cluster)` Take appropriate action after some service failed to stop.

Method Detail

### onServiceFailed

    void onServiceFailed(Cluster cluster)

  Take appropriate action after some service failed to stop. The failed service may be hung, deadlocked, or otherwise in an inconsistent and/or unresponsive state.
  This method will be invoked on a dedicated thread; further failures, hangs, or deadlocks of failure handling logic will not directly affect other healthy service threads.
  Note: it is strongly advised that, at a minimum, any failure policy should attempt to stop the cluster services (e.g. via `Cluster.stop()`) or otherwise ensure that they are stopped, in order to isolate any failure from the rest of the cluster.

  Parameters:
    `cluster` - the cluster

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.