@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.458Z") @Stability(value=Experimental) public enum DockerVolumeConsistency extends Enum<DockerVolumeConsistency>
Only valid on macOS due to the way file storage works on Mac
| Enum Constant and Description |
|---|
CACHED
(experimental) Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container.
|
CONSISTENT
(experimental) Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes.
|
DELEGATED
(experimental) Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine.
|
| Modifier and Type | Method and Description |
|---|---|
static DockerVolumeConsistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockerVolumeConsistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final DockerVolumeConsistency CONSISTENT
@Stability(value=Experimental) public static final DockerVolumeConsistency DELEGATED
@Stability(value=Experimental) public static final DockerVolumeConsistency CACHED
public static DockerVolumeConsistency[] values()
for (DockerVolumeConsistency c : DockerVolumeConsistency.values()) System.out.println(c);
public static DockerVolumeConsistency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.