Class PulsarMetadataStateStoreImpl
java.lang.Object
org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- All Implemented Interfaces:
AutoCloseable,ByteBufferStateStore,CounterStateStore,StateStore,DefaultStateStore
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddeleteAsync(String key) fqsn()longgetCounter(String key) getCounterAsync(String key) getStateValue(String key) getStateValueAsync(String key) voidincrCounter(String key, long amount) incrCounterAsync(String key, long amount) voidinit(StateStoreContext ctx) name()voidput(String key, ByteBuffer value) putAsync(String key, ByteBuffer value) tenant()
-
Method Details
-
tenant
- Specified by:
tenantin interfaceStateStore
-
namespace
- Specified by:
namespacein interfaceStateStore
-
name
- Specified by:
namein interfaceStateStore
-
fqsn
- Specified by:
fqsnin interfaceStateStore
-
init
- Specified by:
initin interfaceStateStore
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceStateStore
-
put
- Specified by:
putin interfaceByteBufferStateStore
-
putAsync
- Specified by:
putAsyncin interfaceByteBufferStateStore
-
delete
- Specified by:
deletein interfaceByteBufferStateStore
-
deleteAsync
- Specified by:
deleteAsyncin interfaceByteBufferStateStore
-
get
- Specified by:
getin interfaceByteBufferStateStore
-
getAsync
- Specified by:
getAsyncin interfaceByteBufferStateStore
-
getStateValue
- Specified by:
getStateValuein interfaceByteBufferStateStore
-
getStateValueAsync
- Specified by:
getStateValueAsyncin interfaceByteBufferStateStore
-
incrCounter
- Specified by:
incrCounterin interfaceCounterStateStore
-
incrCounterAsync
- Specified by:
incrCounterAsyncin interfaceCounterStateStore
-
getCounter
- Specified by:
getCounterin interfaceCounterStateStore
-
getCounterAsync
- Specified by:
getCounterAsyncin interfaceCounterStateStore
-