summaryrefslogtreecommitdiff
path: root/java/src/Freeze/FatalErrorCallback.java
blob: 9df65446f8dfc1429b5158097e24ae4c8fc993ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

package Freeze;

/**
 * Handles fatal errors encountered by the background save evictor.
 */
public interface FatalErrorCallback
{
    /**
     * Called when the background save evictor encounters a fatal error.
     *
     * @param evictor The evictor that detected the error.
     * @param communicator The communicator associated with the evictor.
     * @param ex The exception that caused the error.
     */
    void handleError(Evictor evictor, Ice.Communicator communicator, RuntimeException ex);
}