|
| 1 | +<!DOCTYPE HTML> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | +<!-- Generated by javadoc (17) --> |
| 5 | +<title>AsyncFutureListener (venice API)</title> |
| 6 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 8 | +<meta name="description" content="declaration: package: com.linkedin.alpini.base.concurrency, interface: AsyncFutureListener"> |
| 9 | +<meta name="generator" content="javadoc/ClassWriterImpl"> |
| 10 | +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| 11 | +<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| 12 | +<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| 13 | +<script type="text/javascript" src="../../../../../script.js"></script> |
| 14 | +<script type="text/javascript" src="../../../../../script-dir/jquery-3.7.1.min.js"></script> |
| 15 | +<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| 16 | +</head> |
| 17 | +<body class="class-declaration-page"> |
| 18 | +<script type="text/javascript">var evenRowColor = "even-row-color"; |
| 19 | +var oddRowColor = "odd-row-color"; |
| 20 | +var tableTab = "table-tab"; |
| 21 | +var activeTableTab = "active-table-tab"; |
| 22 | +var pathtoroot = "../../../../../"; |
| 23 | +loadScripts(document, 'script');</script> |
| 24 | +<noscript> |
| 25 | +<div>JavaScript is disabled on your browser.</div> |
| 26 | +</noscript> |
| 27 | +<div class="flex-box"> |
| 28 | +<header role="banner" class="flex-header"> |
| 29 | +<nav role="navigation"> |
| 30 | +<!-- ========= START OF TOP NAVBAR ======= --> |
| 31 | +<div class="top-nav" id="navbar-top"> |
| 32 | +<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| 33 | +<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| 34 | +<li><a href="../../../../../index.html">Overview</a></li> |
| 35 | +<li><a href="package-summary.html">Package</a></li> |
| 36 | +<li class="nav-bar-cell1-rev">Class</li> |
| 37 | +<li><a href="package-tree.html">Tree</a></li> |
| 38 | +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| 39 | +<li><a href="../../../../../index-all.html">Index</a></li> |
| 40 | +<li><a href="../../../../../help-doc.html#class">Help</a></li> |
| 41 | +</ul> |
| 42 | +</div> |
| 43 | +<div class="sub-nav"> |
| 44 | +<div> |
| 45 | +<ul class="sub-nav-list"> |
| 46 | +<li>Summary: </li> |
| 47 | +<li>Nested | </li> |
| 48 | +<li>Field | </li> |
| 49 | +<li>Constr | </li> |
| 50 | +<li><a href="#method-summary">Method</a></li> |
| 51 | +</ul> |
| 52 | +<ul class="sub-nav-list"> |
| 53 | +<li>Detail: </li> |
| 54 | +<li>Field | </li> |
| 55 | +<li>Constr | </li> |
| 56 | +<li><a href="#method-detail">Method</a></li> |
| 57 | +</ul> |
| 58 | +</div> |
| 59 | +<div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| 60 | +<input type="text" id="search-input" value="search" disabled="disabled"> |
| 61 | +<input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| 62 | +</div> |
| 63 | +</div> |
| 64 | +<!-- ========= END OF TOP NAVBAR ========= --> |
| 65 | +<span class="skip-nav" id="skip-navbar-top"></span></nav> |
| 66 | +</header> |
| 67 | +<div class="flex-content"> |
| 68 | +<main role="main"> |
| 69 | +<!-- ======== START OF CLASS DATA ======== --> |
| 70 | +<div class="header"> |
| 71 | +<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.linkedin.alpini.base.concurrency</a></div> |
| 72 | +<h1 title="Interface AsyncFutureListener" class="title">Interface AsyncFutureListener<T></h1> |
| 73 | +</div> |
| 74 | +<section class="class-description" id="class-description"> |
| 75 | +<dl class="notes"> |
| 76 | +<dt>Functional Interface:</dt> |
| 77 | +<dd>This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.</dd> |
| 78 | +</dl> |
| 79 | +<hr> |
| 80 | +<div class="type-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/FunctionalInterface.html" title="class or interface in java.lang" class="external-link">@FunctionalInterface</a> |
| 81 | +</span><span class="modifiers">public interface </span><span class="element-name type-name-label">AsyncFutureListener<T></span></div> |
| 82 | +<div class="block">An interface (lambda) which is fired upon completion of an <a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency"><code>AsyncFuture</code></a>.</div> |
| 83 | +</section> |
| 84 | +<section class="summary"> |
| 85 | +<ul class="summary-list"> |
| 86 | +<!-- ========== METHOD SUMMARY =========== --> |
| 87 | +<li> |
| 88 | +<section class="method-summary" id="method-summary"> |
| 89 | +<h2>Method Summary</h2> |
| 90 | +<div id="method-summary-table"> |
| 91 | +<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div> |
| 92 | +<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0"> |
| 93 | +<div class="summary-table three-column-summary"> |
| 94 | +<div class="table-header col-first">Modifier and Type</div> |
| 95 | +<div class="table-header col-second">Method</div> |
| 96 | +<div class="table-header col-last">Description</div> |
| 97 | +<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| 98 | +<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#operationComplete(com.linkedin.alpini.base.concurrency.AsyncFuture)" class="member-name-link">operationComplete</a><wbr>(<a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency">AsyncFuture</a><<a href="AsyncFutureListener.html" title="type parameter in AsyncFutureListener">T</a>> future)</code></div> |
| 99 | +<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| 100 | +<div class="block">Invoked when the operation associated with the <a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency"><code>AsyncFuture</code></a> |
| 101 | + has been completed.</div> |
| 102 | +</div> |
| 103 | +</div> |
| 104 | +</div> |
| 105 | +</div> |
| 106 | +</section> |
| 107 | +</li> |
| 108 | +</ul> |
| 109 | +</section> |
| 110 | +<section class="details"> |
| 111 | +<ul class="details-list"> |
| 112 | +<!-- ============ METHOD DETAIL ========== --> |
| 113 | +<li> |
| 114 | +<section class="method-details" id="method-detail"> |
| 115 | +<h2>Method Details</h2> |
| 116 | +<ul class="member-list"> |
| 117 | +<li> |
| 118 | +<section class="detail" id="operationComplete(com.linkedin.alpini.base.concurrency.AsyncFuture)"> |
| 119 | +<h3>operationComplete</h3> |
| 120 | +<div class="member-signature"><span class="return-type">void</span> <span class="element-name">operationComplete</span><wbr><span class="parameters">(<a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency">AsyncFuture</a><<a href="AsyncFutureListener.html" title="type parameter in AsyncFutureListener">T</a>> future)</span> |
| 121 | + throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></span></div> |
| 122 | +<div class="block">Invoked when the operation associated with the <a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency"><code>AsyncFuture</code></a> |
| 123 | + has been completed.</div> |
| 124 | +<dl class="notes"> |
| 125 | +<dt>Parameters:</dt> |
| 126 | +<dd><code>future</code> - the source <a href="AsyncFuture.html" title="interface in com.linkedin.alpini.base.concurrency"><code>AsyncFuture</code></a> which called this |
| 127 | + callback</dd> |
| 128 | +<dt>Throws:</dt> |
| 129 | +<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></code></dd> |
| 130 | +</dl> |
| 131 | +</section> |
| 132 | +</li> |
| 133 | +</ul> |
| 134 | +</section> |
| 135 | +</li> |
| 136 | +</ul> |
| 137 | +</section> |
| 138 | +<!-- ========= END OF CLASS DATA ========= --> |
| 139 | +</main> |
| 140 | +</div> |
| 141 | +</div> |
| 142 | +</body> |
| 143 | +</html> |
0 commit comments