Interface ResourceService.ResourceAcquisition

All Superinterfaces:
AutoCloseable
Enclosing interface:
ResourceService

public static interface ResourceService.ResourceAcquisition extends AutoCloseable
Acquires a Resource, guaranteeing it will stay in memory until this object is closed. This does not provide access to the Resource. Use a ResourceService.ResourceTransaction for that purpose to guarantee synchronized access to the resource.