| Package | Description |
|---|---|
| org.postgresql.core |
| Modifier and Type | Class and Description |
|---|---|
private static class |
AsciiStringInterner.Key
Instance used for inserting values into the cache.
|
private static class |
AsciiStringInterner.TempKey
Only used for lookups, never to actually store entries.
|
| Modifier and Type | Field and Description |
|---|---|
private AsciiStringInterner.BaseKey |
AsciiStringInterner.StringReference.key |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.concurrent.ConcurrentMap<AsciiStringInterner.BaseKey,java.lang.ref.SoftReference<java.lang.String>> |
AsciiStringInterner.cache
Contains the canonicalized values, keyed by the ascii
byte[]. |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract boolean |
AsciiStringInterner.BaseKey.equalsBytes(AsciiStringInterner.BaseKey other) |
(package private) boolean |
AsciiStringInterner.TempKey.equalsBytes(AsciiStringInterner.BaseKey other) |
(package private) boolean |
AsciiStringInterner.Key.equalsBytes(AsciiStringInterner.BaseKey other) |
| Constructor and Description |
|---|
StringReference(AsciiStringInterner.BaseKey key,
java.lang.String referent) |