public class MemoryStats
extends java.lang.Object
| Constructor and Description |
|---|
MemoryStats(java.lang.String name,
MemoryHandler.Cost cost,
long estimateSize,
int totalCount,
int hardCount,
long lastAccessed)
Creates new MemoryStats
|
| Modifier and Type | Method and Description |
|---|---|
MemoryHandler.Cost |
getCost()
the cost
|
java.lang.String |
getCostStr()
the cost
|
java.lang.String |
getEstimateAvgStr()
The average size
|
long |
getEstimateSize()
the estimate size
|
java.lang.String |
getEstimateSizeStr()
The estimate size
|
java.lang.String |
getItemCountStr()
the item count
|
long |
getLastAccessed()
The last accessed
|
java.lang.String |
getLastAccessedStr()
The last accessed
|
java.lang.String |
getName()
the name
|
int |
getTotalCount()
the count
|
java.lang.String |
toString()
the description
|
public MemoryStats(@Nonnull
java.lang.String name,
MemoryHandler.Cost cost,
long estimateSize,
int totalCount,
int hardCount,
long lastAccessed)
totalCount - the total counthardCount - the hard countcost - the costlastAccessed - the last accessedestimateSize - the sizename - the name@CheckReturnValue @Nonnull public java.lang.String getName()
@CheckReturnValue public long getEstimateSize()
@CheckReturnValue public long getLastAccessed()
@CheckReturnValue @Nonnull public java.lang.String getLastAccessedStr()
@CheckReturnValue @Nonnull public java.lang.String getEstimateAvgStr()
@CheckReturnValue @Nonnull public java.lang.String getEstimateSizeStr()
@CheckReturnValue @Nonnull public java.lang.String getItemCountStr()
@CheckReturnValue @Nonnull public java.lang.String getCostStr()
@CheckReturnValue @Nonnull public MemoryHandler.Cost getCost()
@CheckReturnValue public int getTotalCount()
@CheckReturnValue @Nonnull public java.lang.String toString()
toString in class java.lang.ObjectstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.