Class FilesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.FilesServiceImpl
-
- All Implemented Interfaces:
Service
,FilesService
public class FilesServiceImpl extends ServiceImpl implements FilesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.FilesService
FilesService.ListRequest, FilesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description FilesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileService
fileService(String id)
FilesService.ListRequest
list()
Returns the list of ISO images and virtual floppy disks available in the storage domain.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
FilesServiceImpl
public FilesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public FilesService.ListRequest list()
Description copied from interface:FilesService
Returns the list of ISO images and virtual floppy disks available in the storage domain. The order of the returned list is not guaranteed. If the `refresh` parameter is `false`, the returned list may not reflect recent changes to the storage domain; for example, it may not contain a new ISO file that was recently added. This is because the server caches the list of files to improve performance. To get the very latest results, set the `refresh` parameter to `true`. The default value of the `refresh` parameter is `true`, but it can be changed using the configuration value `ForceRefreshDomainFilesByDefault`: [source] ---- # engine-config -s ForceRefreshDomainFilesByDefault=false ---- IMPORTANT: Setting the value of the `refresh` parameter to `true` has an impact on the performance of the server. Use it only if necessary.- Specified by:
list
in interfaceFilesService
-
fileService
public FileService fileService(String id)
- Specified by:
fileService
in interfaceFilesService
-
service
public Service service(String path)
Description copied from interface:FilesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceFilesService
-
-