~ubuntu-branches/ubuntu/trusty/mysql-connector-java/trusty

« back to all changes in this revision

Viewing changes to src/com/mysql/jdbc/jmx/ReplicationGroupManagerMBean.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-11-06 23:49:02 UTC
  • mfrom: (1.1.10) (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20131106234902-fhupetvkmt34mg01
Tags: 5.1.27-1
* New upstream release
* Refreshed the patches
* Updated Standards-Version to 3.9.5 (no changes)
* Use XZ compression for the upstream tarball
* Switch to debhelper level 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
 
3
 
 
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>.
 
9
 
 
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
 
12
  of the License.
 
13
 
 
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.
 
17
 
 
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
 
21
 */
 
22
package com.mysql.jdbc.jmx;
 
23
 
 
24
import java.sql.SQLException;
 
25
 
 
26
public interface ReplicationGroupManagerMBean {
 
27
        
 
28
        public abstract void addSlaveHost(String groupFilter, String host) throws SQLException;
 
29
        
 
30
        public abstract void removeSlaveHost(String groupFilter, String host) throws SQLException;
 
31
        
 
32
        public abstract void promoteSlaveToMaster(String groupFilter, String host) throws SQLException;
 
33
        
 
34
 
 
35
}