KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sitraka > jprobe > profiler > api > JPHeapNopAPIImpl


1 /*****************************************************************************
2  * Copyright (c) 1999, KL GROUP INC. All Rights Reserved.
3  * http://www.klg.com
4  *
5  * This software is the confidential and proprietary information of KL
6  * Group, Inc. ("Confidential Information"). You shall not disclose such
7  * Confidential Information and shall use it only in accordance with the
8  * terms of the license agreement you entered into with KL Group.
9  *
10  * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY
11  * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
12  * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
13  * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY
14  * DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
15  * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
16  *****************************************************************************/

17 // RCSID -- $RCSfile: JPHeapNopAPIImpl.java $ $Revision: 1.1.1.2 $ $Date: 2000/10/26 19:56:21 $ $Locker: $ KL Group Inc.
18

19 /**
20  *
21  * @version $Revision: 1.1.1.2 $
22  * @author $Author: ccornu $
23  */

24
25 package com.sitraka.jprobe.profiler.api;
26
27 /*
28  * A JProbeAPI that does nothing. Created by factory methods
29  * if associated .dlls cannot be found.
30  */

31 class JPHeapNopAPIImpl extends JPHeapAPI {
32
33     
34 /**
35  * Protected to disallow public
36  * instantiation.
37  */

38 protected JPHeapNopAPIImpl() {
39 }
40
41 public boolean pauseRecording() {
42     return false;
43 }
44
45 public boolean resumeRecording() {
46     return false;
47 }
48
49 public boolean isRecording() {
50     return false;
51 }
52
53 public boolean clear() {
54     return false;
55 }
56
57 public boolean save(String JavaDoc snapshot_name) {
58     return false;
59 }
60
61 public boolean isRunning() {
62     return false;
63 }
64
65 public void suspend() {
66 }
67
68 public boolean setCheckpoint() {
69     return false;
70 }
71
72 public boolean clearCheckpoint() {
73     return false;
74 }
75
76
77 }
78
Popular Tags