Package org.rostore.v2.container.async
Class AsyncContainerMedia
java.lang.Object
org.rostore.v2.container.async.AsyncContainerMedia
- All Implemented Interfaces:
AutoCloseable,org.rostore.v2.media.Closeable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static AsyncContainerMediacreate(File file, ExecutorService executorService, AsyncContainerMediaProperties asyncContainerMediaProperties) static AsyncContainerMediacreate(File file, AsyncContainerMediaProperties asyncContainerMediaProperties) org.rostore.v2.media.MediagetMedia()org.rostore.v2.media.block.container.Statusstatic AsyncContainerMediastatic AsyncContainerMediaload(File file, ExecutorService executorService) voidsetAsyncContainers(AsyncContainers asyncContainers) voidsetMedia(org.rostore.v2.media.Media media) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rostore.v2.media.Closeable
checkOpened
-
Method Details
-
getAsyncContainers
-
setAsyncContainers
-
getMedia
public org.rostore.v2.media.Media getMedia() -
setMedia
public void setMedia(org.rostore.v2.media.Media media) -
create
public static AsyncContainerMedia create(File file, ExecutorService executorService, AsyncContainerMediaProperties asyncContainerMediaProperties) -
load
-
create
public static AsyncContainerMedia create(File file, AsyncContainerMediaProperties asyncContainerMediaProperties) -
load
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.rostore.v2.media.Closeable
-
getStatus
public org.rostore.v2.media.block.container.Status getStatus()- Specified by:
getStatusin interfaceorg.rostore.v2.media.Closeable
-