Package org.agrona.generation
Interface ResourceConsumer<T>
- Type Parameters:
T
- type of the resource to be accepted.
public interface ResourceConsumer<T>
Consumer of a resource which can throw
IOException
s.-
Method Summary
-
Method Details
-
accept
Accept a resource to be consumed.- Parameters:
resource
- to be consumed.- Throws:
IOException
- during the consumption of the resource.
-