@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-29T20:30:17.766Z") @Stability(value=Stable) public enum DockerVolumeConsistency extends Enum<DockerVolumeConsistency>
Only valid on macOS due to the way file storage works on Mac
| Enum Constant and Description |
|---|
CACHED
Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container.
|
CONSISTENT
Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes.
|
DELEGATED
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=Stable) public static final DockerVolumeConsistency CONSISTENT
@Stability(value=Stable) public static final DockerVolumeConsistency DELEGATED
@Stability(value=Stable) 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.