T
- resource type which this providespublic interface Provider<T> extends Closeable
Modifier and Type | Method and Description |
---|---|
T |
open()
Returns a new resource.
|
T open() throws IOException, InterruptedException
IOException
- if failed to provide a new resourceInterruptedException
- if interrupted while preparing the resourceCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.