public interface ResourcePoolModuleView
Modifier and Type | Method | Description |
---|---|---|
Optional<ResourcePoolModule> |
findModule(String name) |
Find the module, if any, of the given name.
|
default Optional<ResourcePoolModule> |
findModule(ResourcePoolEntry entry) |
Find the module, if any, of the given ResourcePoolEntry
|
int |
moduleCount() |
Return the number of ResourcePoolModule count in this ResourcePool.
|
Stream<ResourcePoolModule> |
modules() |
The stream of modules contained in this ResourcePool.
|
Optional<ResourcePoolModule> findModule(String name)
name
- name of the moduledefault Optional<ResourcePoolModule> findModule(ResourcePoolEntry entry)
entry
- The ResourcePoolEntry whose module is looked up.Stream<ResourcePoolModule> modules()
int moduleCount()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1