Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

CVS update of <src>/org/continuent/sequoia (2 files): msg#00094

db.sequoia.cvs

Subject: CVS update of <src>/org/continuent/sequoia (2 files)

Date: Thursday, November 23, 2006 @ 10:19:39
Author: olivier
Path: /cvsroot/sequoia/sequoia/src/org/continuent/sequoia

Modified: common/jmx/mbeans/VirtualDatabaseMBean.java (1.17 -> 1.18)
controller/virtualdatabase/management/VirtualDatabase.java (1.15
-> 1.16)

- added deprecated initializeFromBackend(String) [no force]
for backward compatibility (SEQUOIA-314/UNICLUSTER-18)


------------------------------------------------------------+
common/jmx/mbeans/VirtualDatabaseMBean.java | 14 +++++++++++
controller/virtualdatabase/management/VirtualDatabase.java | 12 ++++++++-
2 files changed, 25 insertions(+), 1 deletion(-)


Index:
sequoia/src/org/continuent/sequoia/common/jmx/mbeans/VirtualDatabaseMBean.java
diff -u
sequoia/src/org/continuent/sequoia/common/jmx/mbeans/VirtualDatabaseMBean.java:1.17

sequoia/src/org/continuent/sequoia/common/jmx/mbeans/VirtualDatabaseMBean.java:1.18
---
sequoia/src/org/continuent/sequoia/common/jmx/mbeans/VirtualDatabaseMBean.java:1.17
Wed Nov 22 09:41:57 2006
+++
sequoia/src/org/continuent/sequoia/common/jmx/mbeans/VirtualDatabaseMBean.java
Thu Nov 23 10:19:39 2006
@@ -68,6 +68,20 @@
void initializeFromBackend(String databaseBackendName, boolean force)
throws VirtualDatabaseException;

+ /**
+ * Performs initializeFromBackend(databaseBackendName, force=false).
+ * This is a convenience method for backward compatibility.
+ *
+ * @param databaseBackendName the name of the backend to use for
+ * initialization.
+ * @throws VirtualDatabaseException if there is an active backend or a
backend
+ * which has a last known checkpoint, or if there is no recovery
log
+ * for this vdb.
+ * @deprecated use method with explicit force option.
+ */
+ void initializeFromBackend(String databaseBackendName)
+ throws VirtualDatabaseException;
+
//
// Database backends management
//
Index:
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/management/VirtualDatabase.java
diff -u
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/management/VirtualDatabase.java:1.15

sequoia/src/org/continuent/sequoia/controller/virtualdatabase/management/VirtualDatabase.java:1.16
---
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/management/VirtualDatabase.java:1.15
Wed Nov 22 09:41:57 2006
+++
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/management/VirtualDatabase.java
Thu Nov 23 10:19:39 2006
@@ -72,7 +72,8 @@
}

/**
- * @see
org.continuent.sequoia.common.jmx.mbeans.VirtualDatabaseMBean#initializeFromBackend(java.lang.String)
+ * @see
org.continuent.sequoia.common.jmx.mbeans.VirtualDatabaseMBean#initializeFromBackend(java.lang.String,
+ * boolean)
*/
public void initializeFromBackend(String databaseBackendName, boolean force)
throws VirtualDatabaseException
@@ -94,6 +95,15 @@
}

/**
+ * @see
org.continuent.sequoia.common.jmx.mbeans.VirtualDatabaseMBean#initializeFromBackend(java.lang.String)
+ */
+ public void initializeFromBackend(String databaseBackendName)
+ throws VirtualDatabaseException
+ {
+ initializeFromBackend(databaseBackendName, false);
+ }
+
+ /**
* @see
org.continuent.sequoia.common.jmx.mbeans.VirtualDatabaseMBean#forceEnableBackend(java.lang.String)
*/
public void forceEnableBackend(String databaseBackendName)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation