@API(status=STABLE)
public interface DatafeedIdRepository
DatafeedLoopV1
,
the created datafeed id and agent base url should be persisted manually on the BDK side.Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
read()
Read the persisted datafeed id from the storage.
|
java.util.Optional<java.lang.String> |
readAgentBasePath()
Read the persisted agent base path from the storage.
|
void |
write(java.lang.String datafeedId)
Persists the created datafeed id into the storage.
|
void |
write(java.lang.String datafeedId,
java.lang.String agentBasePath)
Persists the created datafeed id and agent base path into the storage.
|
void write(java.lang.String datafeedId)
datafeedId
- the datafeed id to be persisted.void write(java.lang.String datafeedId, java.lang.String agentBasePath)
datafeedId
- the datafeed id to be persisted.agentBasePath
- the agent base path (i.e. scheme, host, port, context path) to be persisted.java.util.Optional<java.lang.String> read()
java.util.Optional<java.lang.String> readAgentBasePath()