|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.impl.internal.store.offheap.MemorySizeParser
public class MemorySizeParser
Memory size parser using the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes, the letter g or G to indicate gigabytes and the letter t or T to indicate terabytes.
Constructor Summary | |
---|---|
MemorySizeParser()
|
Method Summary | |
---|---|
static long |
parse(java.lang.String configuredMemorySize)
Parse a String containing a human-readable memory size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemorySizeParser()
Method Detail |
---|
public static long parse(java.lang.String configuredMemorySize) throws java.lang.IllegalArgumentException
configuredMemorySize
- the String containing a human-readable memory size.
java.lang.IllegalArgumentException
- thrown when the configured memory size cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |