Package io.github.mfvanek.pg.settings
Class ServerSpecification
- java.lang.Object
-
- io.github.mfvanek.pg.settings.ServerSpecification
-
public class ServerSpecification extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerSpecification.Builder
builder()
int
getCpuCoresAmount()
long
getMemoryAmountInBytes()
boolean
hasSSD()
java.lang.String
toString()
-
-
-
Method Detail
-
getCpuCoresAmount
public int getCpuCoresAmount()
-
getMemoryAmountInBytes
public long getMemoryAmountInBytes()
-
hasSSD
public boolean hasSSD()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static ServerSpecification.Builder builder()
-
-