public class SharedStoreImpl extends Object implements SharedStore
| Constructor and Description |
|---|
SharedStoreImpl(String implementationName) |
SharedStoreImpl(String implementationName,
URL ehcacheConfigFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear data for current thread.
|
void |
copyFromThread(long sourceThreadId)
Copy all key-value pairs from one thread to the other.
|
boolean |
isDualMigrationPhase()
This flag tells lightblue service implementation if it's running alone or
not.
|
Object |
pop()
A FIFO queue pop.
|
void |
push(Object obj)
A FIFO queue push.
|
void |
setDualMigrationPhase(boolean isDualMigrationPhase)
|
public SharedStoreImpl(String implementationName)
public void push(Object obj)
SharedStorepush in interface SharedStorepublic Object pop()
SharedStorepop in interface SharedStorepublic void copyFromThread(long sourceThreadId)
SharedStorecopyFromThread in interface SharedStorepublic boolean isDualMigrationPhase()
SharedStoreisDualMigrationPhase in interface SharedStorepublic void setDualMigrationPhase(boolean isDualMigrationPhase)
SharedStoresetDualMigrationPhase in interface SharedStorepublic void clear()
SharedStoreclear in interface SharedStoreCopyright © 2016. All rights reserved.