Class MemoryInfo.Bytes
- java.lang.Object
-
- com.atlassian.confluence.status.service.systeminfo.MemoryInfo.Bytes
-
- Enclosing class:
- MemoryInfo
public static class MemoryInfo.Bytes extends Object
Represents some number of bytes. A convenience class so we don't have to have lots of separate helper methods to convert numbers to megabytes.
-
-
Constructor Summary
Constructors Constructor Description Bytes(long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbytes()booleanequals(Object o)inthashCode()longmegabytes()MemoryInfo.Bytesminus(MemoryInfo.Bytes b)MemoryInfo.Bytesplus(MemoryInfo.Bytes b)StringtoString()
-
-
-
Method Detail
-
bytes
public long bytes()
-
megabytes
public long megabytes()
-
plus
public MemoryInfo.Bytes plus(MemoryInfo.Bytes b)
-
minus
public MemoryInfo.Bytes minus(MemoryInfo.Bytes b)
-
-