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 throwIOException
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T resource)
Accept a resource to be consumed.
-
-
-
Method Detail
-
accept
void accept(T resource) throws java.io.IOException
Accept a resource to be consumed.- Parameters:
resource
- to be consumed.- Throws:
java.io.IOException
- during the consumption of the resource.
-
-