2
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
4
The MySQL Connector/J is licensed under the terms of the GPLv2
5
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
6
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
7
this software, see the FLOSS License Exception
8
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.
10
This program is free software; you can redistribute it and/or modify it under the terms
11
of the GNU General Public License as published by the Free Software Foundation; version 2
14
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
See the GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License along with this
19
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
20
Floor, Boston, MA 02110-1301 USA
22
package com.mysql.jdbc.jmx;
24
import java.sql.SQLException;
26
public interface ReplicationGroupManagerMBean {
28
public abstract void addSlaveHost(String groupFilter, String host) throws SQLException;
30
public abstract void removeSlaveHost(String groupFilter, String host) throws SQLException;
32
public abstract void promoteSlaveToMaster(String groupFilter, String host) throws SQLException;