Package io.grpc.internal
Interface SharedResourceHolder.Resource<T>
-
- All Known Implementing Classes:
Utils.DefaultEventLoopGroupResource
- Enclosing class:
- SharedResourceHolder
public static interface SharedResourceHolder.Resource<T>Defines a resource, and the way to create and destroy instances of it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(T instance)Destroy the given instance.Tcreate()Create a new instance of the resource.
-