| Modifier and Type | Class and Description |
|---|---|
| private class | DiskStoreBootstrapCacheLoader.BootstrapThread
A background daemon thread that asynchronously calls doLoad |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | DiskStoreBootstrapCacheLoader(final boolean
whether load is asynchronous or synchronous asynchronous)Constructor for loader |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides net. Implements net. |
| protected void | |
| public boolean | |
| public void | load(final Ehcache
cache to load cache)Implements net. |
| asynchronous | back to summary |
|---|---|
| private final boolean asynchronous | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| DiskStoreBootstrapCacheLoader | back to summary |
|---|---|
| public DiskStoreBootstrapCacheLoader(final boolean asynchronous) Constructor for loader
| |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides net. Implements net. Doc from net. Clones the loader
| |
| doLoad | back to summary |
|---|---|
| protected void doLoad(Ehcache cache) Performs bootstrap loading. May be executed on a independent thread. | |
| isAsynchronous | back to summary |
|---|---|
| public boolean isAsynchronous() Implements net.
| |
| load | back to summary |
|---|---|
| public void load(final Ehcache cache) throws CacheException Implements net. Doc from net. Instructs the loader to load the given cache
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Ehcache |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | run()
Overrides java. Implements java. |
| cache | back to summary |
|---|---|
| private final Ehcache cache | |
| BootstrapThread | back to summary |
|---|---|
| public BootstrapThread(Ehcache cache) | |
| run | back to summary |
|---|---|
| public final void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |