T - element typeprivate abstract class CachingCalciteSchema.AbstractCached<T> extends Object implements CachingCalciteSchema.Cached<T>
CachingCalciteSchema.Cached
that drives from CachingCalciteSchema.cache.| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
built |
(package private) T |
t |
| Modifier | Constructor and Description |
|---|---|
private |
AbstractCached() |
| Modifier and Type | Method and Description |
|---|---|
void |
enable(long now,
boolean enabled)
Called when CalciteSchema caching is enabled or disabled.
|
T |
get(long now)
Returns the value; uses cached value if valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildT t
boolean built
public T get(long now)
CachingCalciteSchema.Cachedget in interface CachingCalciteSchema.Cached<T>public void enable(long now,
boolean enabled)
CachingCalciteSchema.Cachedenable in interface CachingCalciteSchema.Cached<T>Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.