Searched refs:closer (Results 1 – 2 of 2) sorted by relevance
256 public void open(String closer) { in open() argument257 openWithCallSite(closer, null /* callsite */); in open()273 public void openWithCallSite(String closer, String callsite) { in openWithCallSite() argument275 if (closer == null) { in openWithCallSite()280 closerNameOrAllocationInfo = closer; in openWithCallSite()287 String message = "Explicit termination method '" + closer + "' not called"; in openWithCallSite()
57 Runnable closer = () -> { holder[0] = true; }; in testOneCloseHandler() local60 ints.onClose(closer); in testOneCloseHandler()66 try (Stream<Integer> ints = countTo(100).stream().onClose(closer)) { in testOneCloseHandler()72 try (Stream<Integer> ints = countTo(100).stream().filter(e -> true).onClose(closer)) { in testOneCloseHandler()78 …try (Stream<Integer> ints = countTo(100).stream().filter(e -> true).onClose(closer).filter(e -> tr… in testOneCloseHandler()