Class FileBasedPersistentProvider
java.lang.Object
com.cumulocity.sdk.client.buffering.PersistentProvider
com.cumulocity.sdk.client.buffering.FileBasedPersistentProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AtomicLong
protected static final String
protected static final String
Fields inherited from class com.cumulocity.sdk.client.buffering.PersistentProvider
bufferLimit, DEFAULT_BUFFER_LIMIT
-
Constructor Summary
ConstructorDescriptionFileBasedPersistentProvider
(long bufferLimit, String filePath) FileBasedPersistentProvider
(String filePath) -
Method Summary
-
Field Details
-
NEW_REQUESTS_PATH
- See Also:
-
NEW_REQUESTS_TEMP_PATH
- See Also:
-
counter
-
-
Constructor Details
-
FileBasedPersistentProvider
-
FileBasedPersistentProvider
-
-
Method Details
-
generateId
public long generateId()- Specified by:
generateId
in classPersistentProvider
-
offer
- Specified by:
offer
in classPersistentProvider
-
poll
- Specified by:
poll
in classPersistentProvider
-