01: /*
02: * Created on May 2, 2003
03: *
04: * Dbmjui is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License version 2 as
06: * published by the Free Software Foundation.
07: *
08: * Dbmjui is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public
14: * License along with dbmjui; see the file COPYING. If not,
15: * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16: * Boston, MA 02111-1307, USA.
17: *
18: */
19: package fr.aliacom.dbmjui.driver;
20:
21: import java.util.ArrayList;
22:
23: import fr.aliacom.dbmjui.DbInstance;
24:
25: /**
26: * @author tom
27: *
28: * (c) 2001, 2003 Thomas Cataldo
29: */
30: public interface IInformationHelper {
31:
32: /**
33: * Parses the "info caches" output and turns it CacheInfoEntry beans.
34: *
35: * @param dbi the instance
36: * @return an ArrayList of <code>CacheInfoEntry</code> beans.
37: */
38: ArrayList getCachesInfo(DbInstance dbi);
39:
40: /**
41: * Parses the "info data" output and turns it DataInfoEntry beans.
42: *
43: * @param dbi the instance
44: * @return an ArrayList of <code>DataInfoEntry</code> beans.
45: */
46: ArrayList getDataInfo(DbInstance dbi);
47:
48: /**
49: * Executes the "info io" command and turns it IOInfoEntry beans.
50: *
51: * @param dbi the instance
52: * @return an ArrayList of <code>IOInfoEntry</code> beans.
53: */
54: ArrayList getIOInfo(DbInstance dbi);
55:
56: /**
57: * Parses the "info log" output and turns it LogInfoEntry beans.
58: *
59: * @param dbi the instance
60: * @return an ArrayList of <code>LogInfoEntry</code> beans.
61: */
62: ArrayList getLogsInfo(DbInstance dbi);
63:
64: /**
65: * Parses the "info locks" output and turns it LockInfoEntry beans.
66: *
67: * @param dbi the instance
68: * @return an ArrayList of <code>LockInfoEntry</code> beans.
69: */
70: ArrayList getLocksInfo(DbInstance dbi);
71:
72: /**
73: * Parses the "info version" output and turns it VersionInfoEntry beans.
74: *
75: * @param dbi the instance
76: * @return an ArrayList of <code>VersionInfoEntry</code> beans.
77: */
78: ArrayList getVersionsInfo(DbInstance dbi);
79:
80: /**
81: * Parses the "info caches" output and turns it CacheInfoEntry beans.
82: *
83: * @param dbi the instance
84: * @return an ArrayList of <code>CacheInfoEntry</code> beans.
85: */
86: ArrayList getSessionsInfo(DbInstance dbi);
87: }
|