Class PersistentProvider
java.lang.Object
com.cumulocity.sdk.client.buffering.PersistentProvider
- Direct Known Subclasses:
FileBasedPersistentProvider
,MemoryBasedPersistentProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract long
abstract void
offer
(ProcessingRequest request) abstract ProcessingRequest
poll()
-
Field Details
-
DEFAULT_BUFFER_LIMIT
protected static final long DEFAULT_BUFFER_LIMIT- See Also:
-
bufferLimit
protected long bufferLimit
-
-
Constructor Details
-
PersistentProvider
public PersistentProvider() -
PersistentProvider
public PersistentProvider(long bufferLimit)
-
-
Method Details
-
generateId
public abstract long generateId() -
offer
-
poll
-