public class RWKeyValueAccessor<K,V> extends RWKeyAccessor<K> implements KeyValueTrait<K,V>
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private IKVStore<K,V> |
kvStore |
storeregisteredAction| 构造器 | 说明 |
|---|---|
RWKeyValueAccessor() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
V |
get(K key) |
|
void |
init(StateContext context,
IStoreBuilder storeBuilder) |
|
void |
put(K key,
V value) |
|
void |
remove(K key) |
allowActionTypes, getStoredoStoreAction, initAction, registerActionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoStoreAction, registerActionpublic void init(StateContext context, IStoreBuilder storeBuilder)
init 在接口中 IAccessorinit 在类中 RWKeyAccessor<K>public void remove(K key)
remove 在接口中 KeyValueTrait<K,V>Copyright © 2025. All rights reserved.