Class FileResumeAdapterDelegate
java.lang.Object
org.apache.camel.component.file.consumer.adapters.FileResumeAdapterDelegate
- All Implemented Interfaces:
DirectoryEntriesResumeAdapter
,FileOffsetResumeAdapter
,FileResumeAdapter
,org.apache.camel.resume.Cacheable
,org.apache.camel.resume.Deserializable
,org.apache.camel.resume.ResumeAdapter
@JdkService("file-adapter-factory")
public class FileResumeAdapterDelegate
extends Object
implements FileResumeAdapter, org.apache.camel.resume.Cacheable, org.apache.camel.resume.Deserializable, FileOffsetResumeAdapter, DirectoryEntriesResumeAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.resume.Cacheable
org.apache.camel.resume.Cacheable.FillPolicy
-
Field Summary
Fields inherited from interface org.apache.camel.resume.ResumeAdapter
RESUME_ADAPTER_FACTORY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(org.apache.camel.resume.OffsetKey<?> key, org.apache.camel.resume.Offset<?> offset) boolean
deserialize
(ByteBuffer keyBuffer, ByteBuffer valueBuffer) org.apache.camel.resume.cache.ResumeCache<?>
getCache()
void
resume()
boolean
void
setCache
(org.apache.camel.resume.cache.ResumeCache<?> cache) void
setResumePayload
(GenericFile<File> genericFile) Sets the resume payload used for the adapterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.resume.Cacheable
getFillPolicy
Methods inherited from interface org.apache.camel.resume.Deserializable
deserializeKey, deserializeObject, deserializeValue
-
Constructor Details
-
FileResumeAdapterDelegate
public FileResumeAdapterDelegate()
-
-
Method Details
-
setResumePayload
Description copied from interface:FileOffsetResumeAdapter
Sets the resume payload used for the adapter- Specified by:
setResumePayload
in interfaceFileOffsetResumeAdapter
- Parameters:
genericFile
- a generic file instance
-
add
public boolean add(org.apache.camel.resume.OffsetKey<?> key, org.apache.camel.resume.Offset<?> offset) - Specified by:
add
in interfaceorg.apache.camel.resume.Cacheable
-
setCache
public void setCache(org.apache.camel.resume.cache.ResumeCache<?> cache) - Specified by:
setCache
in interfaceorg.apache.camel.resume.Cacheable
-
getCache
public org.apache.camel.resume.cache.ResumeCache<?> getCache()- Specified by:
getCache
in interfaceorg.apache.camel.resume.Cacheable
-
deserialize
- Specified by:
deserialize
in interfaceorg.apache.camel.resume.Deserializable
-
resume
public void resume()- Specified by:
resume
in interfaceorg.apache.camel.resume.ResumeAdapter
-
resume
- Specified by:
resume
in interfaceDirectoryEntriesResumeAdapter
-