Package org.rostore.v2.container.async
Class AsyncContainerMedia
java.lang.Object
org.rostore.v2.container.async.AsyncContainerMedia
- All Implemented Interfaces:
AutoCloseable
,Closeable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this entity and all related blocksstatic AsyncContainerMedia
create
(File file, ExecutorService executorService, AsyncContainerMediaProperties asyncContainerMediaProperties) static AsyncContainerMedia
create
(File file, AsyncContainerMediaProperties asyncContainerMediaProperties) getMedia()
Provides a status of this entitystatic AsyncContainerMedia
static AsyncContainerMedia
load
(File file, ExecutorService executorService) void
setAsyncContainers
(AsyncContainers asyncContainers) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rostore.v2.media.Closeable
checkOpened
-
Method Details
-
getAsyncContainers
-
setAsyncContainers
-
getMedia
-
setMedia
-
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()Description copied from interface:Closeable
Closes this entity and all related blocks- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getStatus
Description copied from interface:Closeable
Provides a status of this entity
-