All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oracle.kv.impl.mgmt.AdminStatusReceiver Maven / Gradle / Ivy

Go to download

NoSQL Database Server - supplies build and runtime support for the server (store) side of the Oracle NoSQL Database.

The newest version!
/*-
 * Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
 *
 * This file was distributed by Oracle as part of a version of Oracle NoSQL
 * Database made available at:
 *
 * http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
 *
 * Please see the LICENSE file included in the top-level directory of the
 * appropriate version of Oracle NoSQL Database for a copy of the license and
 * additional information.
 */

package oracle.kv.impl.mgmt;

import java.rmi.Remote;
import java.rmi.RemoteException;

import oracle.kv.impl.measurement.ServiceStatusChange;
import oracle.kv.impl.param.ParameterMap;

/**
 * Methods called by the Admin to inform the MgmtAgent of the
 * Admin's status.  This remote interface does not need to be versioned,
 * because the two participants will always be local, and always be the from
 * same release.
 */
public interface AdminStatusReceiver extends Remote {

    /**
     * The only status actually reported by the Admin is RUNNING.
     * Other statuses are reported by proxy from the ServiceManager.
     */
    public void updateAdminStatus
        (ServiceStatusChange newStatus, boolean isMaster)
        throws RemoteException;

    public void receiveNewParams(ParameterMap newMap)
        throws RemoteException;

    public void updatePlanStatus(String planStatus)
        throws RemoteException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy