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