|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SyncException in org.sdnplatform.sync |
---|
Methods in org.sdnplatform.sync that throw SyncException | |
---|---|
void |
IStoreClient.delete(K key)
Delete the key by writing a null tombstone to the store obliterating any existing value stored for the key. |
void |
IStoreClient.delete(K key,
IVersion version)
Delete the key by writing a null tombstone to the store using the provided IVersion . |
IClosableIterator<java.util.Map.Entry<K,Versioned<V>>> |
IStoreClient.entries()
Get an iterator that will get all the entries in the store. |
Versioned<V> |
IStoreClient.get(K key)
Get the versioned value associated with the given key. |
Versioned<V> |
IStoreClient.get(K key,
Versioned<V> defaultValue)
Get the versioned value associated with the given key or the defaultValue if no value is associated with the key. |
V |
IStoreClient.getValue(K key)
Get the value associated with the given key or null if there is no value associated with this key. |
V |
IStoreClient.getValue(K key,
V defaultValue)
Get the value associated with the given key or defaultValue if there is no value associated with the key. |
IVersion |
IStoreClient.put(K key,
V value)
Associated the given value to the key, clobbering any existing values stored for the key. |
IVersion |
IStoreClient.put(K key,
Versioned<V> versioned)
Put the given Versioned value into the store for the given key if the version is greater to or concurrent with existing values. |
boolean |
IStoreClient.putIfNotObsolete(K key,
Versioned<V> versioned)
Put the versioned value to the key, ignoring any ObsoleteVersionException that may be thrown |
void |
ISyncService.registerPersistentStore(java.lang.String storeName,
ISyncService.Scope scope)
Create a store with the given store name and scope that will be persistent across reboots. |
void |
ISyncService.registerStore(java.lang.String storeName,
ISyncService.Scope scope)
Create a store with the given store name and scope |
Uses of SyncException in org.sdnplatform.sync.error |
---|
Subclasses of SyncException in org.sdnplatform.sync.error | |
---|---|
class |
AuthException
|
class |
HandshakeTimeoutException
Exception is thrown when the handshake fails to complete before a specified time |
class |
InconsistentDataException
Thrown when the inconsistency resolver fails to resolve down to a single value |
class |
ObsoleteVersionException
This exception is thrown when attempting to write a value into a store that is older than the value already in the store. |
class |
PersistException
An error with a persistence layer |
class |
RemoteStoreException
An exception related to retrieving data from a remote store |
class |
SerializationException
An error occurred while serializing or deserializing objects |
class |
UnknownStoreException
Thrown when attempting to perform an operation on an unknown store |
Methods in org.sdnplatform.sync.error that return SyncException | |
---|---|
static SyncException |
SyncException.newInstance(SyncException.ErrorType type,
java.lang.String message,
java.lang.Throwable cause)
|
Constructors in org.sdnplatform.sync.error with parameters of type SyncException | |
---|---|
SyncRuntimeException(java.lang.String message,
SyncException cause)
|
|
SyncRuntimeException(SyncException cause)
|
Uses of SyncException in org.sdnplatform.sync.internal |
---|
Methods in org.sdnplatform.sync.internal that throw SyncException | |
---|---|
void |
SyncManager.cleanup()
Perform periodic scheduled cleanup. |
void |
AbstractStoreClient.delete(K key)
|
void |
AbstractStoreClient.delete(K key,
IVersion version)
|
IClosableIterator<java.util.Map.Entry<K,Versioned<V>>> |
DefaultStoreClient.entries()
|
Versioned<V> |
AbstractStoreClient.get(K key)
|
Versioned<V> |
DefaultStoreClient.get(K key,
Versioned<V> defaultValue)
|
V |
AbstractStoreClient.getValue(K key)
|
V |
AbstractStoreClient.getValue(K key,
V defaultValue)
|
protected java.util.List<IVersion> |
DefaultStoreClient.getVersions(K key)
|
protected abstract java.util.List<IVersion> |
AbstractStoreClient.getVersions(K key)
Get the versions for a key |
boolean |
SyncManager.handleSyncOffer(java.lang.String storeName,
byte[] key,
java.lang.Iterable<VectorClock> versions)
Check whether any of the specified versions for the key are not older than the versions we already have |
IVersion |
AbstractStoreClient.put(K key,
V value)
|
IVersion |
DefaultStoreClient.put(K key,
Versioned<V> versioned)
|
boolean |
AbstractStoreClient.putIfNotObsolete(K key,
Versioned<V> versioned)
|
Uses of SyncException in org.sdnplatform.sync.internal.config |
---|
Methods in org.sdnplatform.sync.internal.config that throw SyncException | |
---|---|
ClusterConfig |
SyncStoreCCProvider.getConfig()
|
ClusterConfig |
StorageCCProvider.getConfig()
|
ClusterConfig |
PropertyCCProvider.getConfig()
|
ClusterConfig |
IClusterConfigProvider.getConfig()
Get the ClusterConfig that represents the current cluster |
ClusterConfig |
FallbackCCProvider.getConfig()
|
ClusterConfig |
DelegatingCCProvider.getConfig()
|
void |
SyncStoreCCProvider.init(SyncManager syncManager,
FloodlightModuleContext context)
|
void |
IClusterConfigProvider.init(SyncManager syncManager,
FloodlightModuleContext context)
Initialize the provider with the configuration parameters from the Floodlight module context. |
Constructors in org.sdnplatform.sync.internal.config that throw SyncException | |
---|---|
ClusterConfig(java.util.List<Node> nodes,
short thisNodeId)
Initialize a cluster config using a list of nodes |
|
ClusterConfig(java.util.List<Node> nodes,
short thisNodeId,
AuthScheme authScheme,
java.lang.String keyStorePath,
java.lang.String keyStorePassword)
Initialize a cluster config using a list of nodes |
|
ClusterConfig(java.util.List<Node> nodes,
short thisNodeId,
java.lang.String listenAddress,
AuthScheme authScheme,
java.lang.String keyStorePath,
java.lang.String keyStorePassword)
Initialize a cluster config using a list of nodes |
|
FallbackCCProvider()
|
Uses of SyncException in org.sdnplatform.sync.internal.config.bootstrap |
---|
Methods in org.sdnplatform.sync.internal.config.bootstrap that throw SyncException | |
---|---|
boolean |
Bootstrap.bootstrap(com.google.common.net.HostAndPort seed,
Node localNode)
|
void |
Bootstrap.init()
|
Uses of SyncException in org.sdnplatform.sync.internal.remote |
---|
Methods in org.sdnplatform.sync.internal.remote that return SyncException | |
---|---|
SyncException |
SyncReply.getError()
|
Methods in org.sdnplatform.sync.internal.remote with parameters of type SyncException | |
---|---|
protected void |
RemoteSyncManager.channelDisconnected(SyncException why)
|
Methods in org.sdnplatform.sync.internal.remote that throw SyncException | |
---|---|
void |
RemoteStore.close()
|
java.util.List<Versioned<byte[]>> |
RemoteStore.get(ByteArray key)
|
java.util.List<IVersion> |
RemoteStore.getVersions(ByteArray key)
|
void |
RemoteStore.put(ByteArray key,
Versioned<byte[]> value)
|
void |
RemoteSyncManager.registerPersistentStore(java.lang.String storeName,
ISyncService.Scope scope)
|
void |
RemoteSyncManager.registerStore(java.lang.String storeName,
ISyncService.Scope scope)
|
Constructors in org.sdnplatform.sync.internal.remote with parameters of type SyncException | |
---|---|
SyncReply(java.util.List<Versioned<byte[]>> values,
java.util.List<KeyedValues> keyedValues,
boolean success,
SyncException error,
int intValue)
|
Uses of SyncException in org.sdnplatform.sync.internal.store |
---|
Methods in org.sdnplatform.sync.internal.store that throw SyncException | ||
---|---|---|
void |
ListenerStorageEngine.cleanupTask()
|
|
void |
JavaDBStorageEngine.cleanupTask()
|
|
void |
IStorageEngine.cleanupTask()
Perform any periodic cleanup tasks that might need to be performed. |
|
void |
ListenerStorageEngine.close()
|
|
void |
JavaDBStorageEngine.close()
|
|
void |
JacksonStore.close()
|
|
void |
IStore.close()
Close the store. |
|
boolean |
InMemoryStorageEngine.doput(K key,
Versioned<V> value)
|
|
java.util.List<Versioned<byte[]>> |
ListenerStorageEngine.get(ByteArray key)
|
|
java.util.List<Versioned<byte[]>> |
JavaDBStorageEngine.get(ByteArray key)
|
|
java.util.List<Versioned<V>> |
JacksonStore.get(K key)
|
|
java.util.List<Versioned<V>> |
InMemoryStorageEngine.get(K key)
|
|
java.util.List<Versioned<V>> |
IStore.get(K key)
Get the value associated with the given key |
|
static
|
StoreUtils.getAll(IStore<K,V> storageEngine,
java.lang.Iterable<K> keys)
Implements getAll by delegating to get. |
|
java.util.List<IVersion> |
ListenerStorageEngine.getVersions(ByteArray key)
|
|
java.util.List<IVersion> |
JavaDBStorageEngine.getVersions(ByteArray key)
|
|
java.util.List<IVersion> |
JacksonStore.getVersions(K key)
|
|
java.util.List<IVersion> |
InMemoryStorageEngine.getVersions(K key)
|
|
java.util.List<IVersion> |
IStore.getVersions(K key)
Get a list of the versions associated with the given key |
|
void |
SynchronizingStorageEngine.put(ByteArray key,
Versioned<byte[]> value)
|
|
void |
ListenerStorageEngine.put(ByteArray key,
Versioned<byte[]> value)
|
|
void |
JavaDBStorageEngine.put(ByteArray key,
Versioned<byte[]> value)
|
|
void |
JacksonStore.put(K key,
Versioned<V> value)
|
|
void |
InMemoryStorageEngine.put(K key,
Versioned<V> value)
|
|
void |
IStore.put(K key,
Versioned<V> value)
Associate the value with the key and version in this store |
|
void |
ListenerStorageEngine.truncate()
|
|
void |
JavaDBStorageEngine.truncate()
|
|
void |
IStorageEngine.truncate()
Truncate all entries in the store. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |