KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > clif > storage > api > StorageAdmin


1 /*
2 * CLIF is a Load Injection Framework
3 * Copyright (C) 2003 France Telecom R&D
4 * Copyright (C) 2003 INRIA
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * CLIF $Name:
21 *
22 * Contact: clif@objectweb.org
23 */

24
25 package org.objectweb.clif.storage.api;
26
27 import java.util.Map JavaDoc;
28 import java.io.Serializable JavaDoc;
29
30 /**
31  * Interface for controlling the storage system
32  *
33  * @author Julien Buret
34  * @author Nicolas Droze
35  * @author Bruno Dillenseger
36  */

37 public interface StorageAdmin
38 {
39     static public final String JavaDoc STORAGE_ADMIN = "Storage administration";
40
41     /**
42      * Terminates the storage system
43      */

44     public void terminate();
45
46     /**
47      * Collects the latest test data
48      */

49     public void collect();
50
51     /**
52      * Informs the storage system about the beginning of a new test
53      * @param testId test identifier object
54      * @param definitions map of blade deployment definitions, indexed by a unique blade
55      * identifier
56      * @see org.objectweb.clif.deploy.DeployDefinition
57      */

58     public void newTest(Serializable JavaDoc testId, Map JavaDoc definitions);
59 }
60
Popular Tags