01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.stats;
05:
06: public class DBInstance implements DBInstanceMBean {
07: private String description;
08: private boolean isActive;
09:
10: public DBInstance(String description, boolean isActive) {
11: this .description = description;
12: this .isActive = isActive;
13: }
14:
15: public String getDescription() {
16: return description;
17: }
18:
19: public void setActive(boolean isActive) {
20: this .isActive = isActive;
21: }
22:
23: public boolean isActive() {
24: return isActive;
25: }
26:
27: public void refresh() {
28: // nothing yet
29: }
30: }
|