Package org.rostore.v2.container.async
Class AsyncContainers
java.lang.Object
org.rostore.v2.media.RootClosableImpl
org.rostore.v2.container.async.AsyncContainers
- All Implemented Interfaces:
AutoCloseable
,Closeable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this entity and all related blocksboolean
create
(String name, ContainerMeta containerMeta) static AsyncContainers
create
(Media media, ContainerListProperties containerListProperties) static AsyncContainers
create
(Media media, ContainerListProperties containerListProperties, ExecutorService executorService) protected boolean
static AsyncContainers
load
(Media media, ExecutorService executorService, ContainerListHeader header) static AsyncContainers
load
(Media media, ContainerListHeader header) boolean
Methods inherited from class org.rostore.v2.media.RootClosableImpl
getStatus
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
-
listAllContainers
-
getCleanupManager
-
getExecutorService
-
load
public static AsyncContainers load(Media media, ExecutorService executorService, ContainerListHeader header) -
create
public static AsyncContainers create(Media media, ContainerListProperties containerListProperties, ExecutorService executorService) -
load
-
create
-
getContainerListHeader
-
get
-
create
-
close
-
evict
-
remove
-
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
- Overrides:
close
in classRootClosableImpl
-