C D F G I M N O S W 

C

close() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
close() - Method in class org.synchronoss.cloud.nio.stream.storage.NameAwarePurgableFileInputStream
Closes the stream and deletes the file.
create() - Method in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Creates a new FileStreamStorage.
create() - Method in interface org.synchronoss.cloud.nio.stream.storage.StreamStorageFactory
Creates the StreamStorage.

D

DEFAULT_MAX_CAPACITY - Static variable in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Default maximum capacity to set to the new StreamStorages.
DEFAULT_MAX_THRESHOLD - Static variable in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Default max threshold.
DEFAULT_ROOT_FOLDER - Static variable in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Default location where the data files are stored.
deferred(File, int) - Static method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Returns a reference to a FileStreamStorage where the data is written to a file when the data is greater in size than the threshold specified.
DeferredFileStreamStorageFactory - Class in org.synchronoss.cloud.nio.stream.storage
Factory for creating FileStreamStorages.
DeferredFileStreamStorageFactory(String, int) - Constructor for class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Constructor.
DeferredFileStreamStorageFactory(String) - Constructor for class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Constructor that uses the default threshold of 10kb.
DeferredFileStreamStorageFactory(int) - Constructor for class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Constructor that uses a default folder ${java.io.tmpdir}/nio-stream-storage.
DeferredFileStreamStorageFactory() - Constructor for class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Constructor that uses a default threshold of 10kb and a default folder ${java.io.tmpdir}/nio-stream-storage.
deleteFilesOnClose() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Configures the current FileStreamStorage to delete the underlying file after calling the FileStreamStorage.close() method.
deleteFilesOnDispose() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Configures the current FileStreamStorage to delete the underlying file after calling the FileStreamStorage.dispose() ()} method.
directToFile(File, boolean) - Static method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Returns a reference to a FileStreamStorage where the data is always written to the file specified.
Disposable - Interface in org.synchronoss.cloud.nio.stream.storage
A Disposable is a destination of data that can be discarded.
dispose() - Method in interface org.synchronoss.cloud.nio.stream.storage.Disposable
Dismiss and releases any system resources associated with this object.
dispose() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Dismisses the DeferredFileStreamStorage closing quietly the OutputStream and deleting the underlying file if it exists.

F

FileStreamStorage - Class in org.synchronoss.cloud.nio.stream.storage
A configurable StreamStorage that: Allows a a combination of memory and file to store the data.
FileStreamStorage(File, int, boolean, boolean, boolean, long) - Constructor for class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Constructor that sets the threshold to the user specified value.
FileStreamStorage(File, int, boolean) - Constructor for class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Constructor that sets the threshold to the user specified value.
flush() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage

G

getFile() - Method in class org.synchronoss.cloud.nio.stream.storage.NameAwarePurgableFileInputStream
 
getFileName() - Method in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
Generates an unique file name for the data file.
getInputStream() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Returns the InputStream to read back data from the store.
getInputStream() - Method in class org.synchronoss.cloud.nio.stream.storage.StreamStorage
Returns the InputStream to read back data from the store.

I

isInMemory() - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Returns if the data has been flushed to disk or if it's still in memory.

M

maxCapacity(long) - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
Configures the current FileStreamStorage to accept up to maxCapacity bytes.

N

NameAwarePurgableFileInputStream - Class in org.synchronoss.cloud.nio.stream.storage
Extension of FileInputStream that allows the file to be purged when close() is called.
NameAwarePurgableFileInputStream(File, boolean) - Constructor for class org.synchronoss.cloud.nio.stream.storage.NameAwarePurgableFileInputStream
Constructor.
NameAwarePurgableFileInputStream(File) - Constructor for class org.synchronoss.cloud.nio.stream.storage.NameAwarePurgableFileInputStream
 

O

org.synchronoss.cloud.nio.stream.storage - package org.synchronoss.cloud.nio.stream.storage
 

S

setDeleteFilesOnClose(boolean) - Method in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
 
setDeleteFilesOnDispose(boolean) - Method in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
 
setMaxCapacity(long) - Method in class org.synchronoss.cloud.nio.stream.storage.DeferredFileStreamStorageFactory
 
StreamStorage - Class in org.synchronoss.cloud.nio.stream.storage
Defines a storage that allows to store bytes and read them back.
StreamStorage() - Constructor for class org.synchronoss.cloud.nio.stream.storage.StreamStorage
 
StreamStorageFactory - Interface in org.synchronoss.cloud.nio.stream.storage
A factory for StreamStorage.

W

write(int) - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
write(byte[], int, int) - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
write(byte[]) - Method in class org.synchronoss.cloud.nio.stream.storage.FileStreamStorage
C D F G I M N O S W 

Copyright © 2017. All rights reserved.