T - The type of Object storedpublic abstract class ChannelValueStore<T> extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
EMPTY
Specifies that the ChannelValueStore is empty and cannot give further data
|
protected static int |
FULL
Specifies that the ChannelValueStore is full and cannot accept further data
|
protected static int |
NONEMPTYFULL
Specifies that the ChannelValueStore is neither empty or full and can give
and accept further data.
|
| Constructor and Description |
|---|
ChannelValueStore() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
clone()
Returns a new Object with the same creation parameters as this Object.
|
protected abstract T |
get()
Returns the next available Object from the ChannelValueStore.
|
protected abstract int |
getState()
Returns the current state of the ChannelValueStore, should be called to
ensure the Pre-conditions of the other methods are not broken.
|
protected abstract void |
put(T value)
Puts a new Object into the ChannelValueStore.
|
protected static int NONEMPTYFULL
protected static int EMPTY
protected static int FULL
protected abstract Object clone()
protected abstract T get()
protected abstract int getState()
protected abstract void put(T value)
value - The object to put in the ChannelValueStoreCopyright © 2015 Revolution Systems Inc.. All rights reserved.