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 long
bytes()
boolean
equals(Object o)
int
hashCode()
long
megabytes()
MemoryInfo.Bytes
minus(MemoryInfo.Bytes b)
MemoryInfo.Bytes
plus(MemoryInfo.Bytes b)
String
toString()
-
-
-
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)
-
-