-
Notifications
You must be signed in to change notification settings - Fork 11
/
ServerInfoResponse.java
76 lines (65 loc) · 2.24 KB
/
ServerInfoResponse.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/**********************************************************************
* Copyright (c) 2024 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.model;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Contributes to the model used for TSP swagger-core annotations.
*
* @author Vlad Arama
*/
@Schema(description = "System Information Response")
public interface ServerInfoResponse {
/**
* @return Version in the format Major.Minor.Micro
*/
@Schema(required = true, description = "Version in the format Major.Minor.Micro")
String getVersion();
/**
* @return Build time or qualifier of the server version, if available
*/
@Schema(description = "Build time or qualifier of the server version, if available")
String getBuildTime();
/**
* @return Operating system name
*/
@Schema(required = true, description = "Operating system name")
String getOs();
/**
* @return Architecture of the operating system
*/
@Schema(description = "Architecture of the operating system")
String getOsArch();
/**
* @return Operating system version
*/
@Schema(description = "Operating system version")
String getOsVersion();
/**
* @return Number of CPUs available
*/
@Schema(description = "Number of CPUs available")
int getCpuCount();
/**
* @return Maximum memory available to the JVM in bytes
*/
@Schema(description = "Maximum memory available to the JVM in bytes")
long getMaxMemory();
/**
* @return Name of the launcher used, if available
*/
@Schema(description = "Name of the launcher used, if available")
String getLauncherName();
/**
* @return Product identifier for the trace server
*/
@Schema(required = true, description = "Product identifier for the trace server")
String getProductId();
}