public static interface Protos.Resource.DiskInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Resource.DiskInfo.Persistence |
getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.PersistenceOrBuilder |
getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Source |
getSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.SourceOrBuilder |
getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Volume |
getVolume()
Describes how this disk resource will be mounted in the
container.
|
Protos.VolumeOrBuilder |
getVolumeOrBuilder()
Describes how this disk resource will be mounted in the
container.
|
boolean |
hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
boolean |
hasSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
boolean |
hasVolume()
Describes how this disk resource will be mounted in the
container.
|
boolean hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
Protos.Resource.DiskInfo.Persistence getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
Protos.Resource.DiskInfo.PersistenceOrBuilder getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
boolean hasVolume()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
Protos.Volume getVolume()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
Protos.VolumeOrBuilder getVolumeOrBuilder()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
boolean hasSource()
optional .mesos.Resource.DiskInfo.Source source = 3;
Protos.Resource.DiskInfo.Source getSource()
optional .mesos.Resource.DiskInfo.Source source = 3;
Protos.Resource.DiskInfo.SourceOrBuilder getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3;