public class PGPropertyMaxResultBufferParser extends Object
Constructor and Description |
---|
PGPropertyMaxResultBufferParser() |
Modifier and Type | Method and Description |
---|---|
static long |
parseProperty(@Nullable String value)
Method to parse value of max result buffer size.
|
public static long parseProperty(@Nullable String value) throws PSQLException
value
- string containing size of bytes with optional multiplier (T, G, M or K) or percent
value to declare max percent of heap memory to use.PSQLException
- Exception when given value can't be parsed.Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.