Skip to content

Commit

Permalink
more enum use
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Apr 26, 2024
1 parent 9334c33 commit 289bbf3
Show file tree
Hide file tree
Showing 20 changed files with 205 additions and 324 deletions.
16 changes: 12 additions & 4 deletions api/java/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/Access.Queues.html" title="enum in org.cdlib.mrt.zk">Access.Queues</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Access Assembly Queue names</div>
</th>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/AccessState.html" title="enum in org.cdlib.mrt.zk">AccessState</a></td>
Expand Down Expand Up @@ -164,7 +166,9 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Static methods to set and release Merritt Locks.</div>
</th>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/MerrittStateError.html" title="class in org.cdlib.mrt.zk">MerrittStateError</a></td>
Expand All @@ -186,11 +190,15 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Standardized path names for Merritt Zookeeper nodes</div>
</th>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/QueueItem.ZkPrefixes.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPrefixes</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Standardized prefix names for Merritt Zookeeper sequential nodes</div>
</th>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><a href="org/cdlib/mrt/zk/QueueItemHelper.html" title="class in org.cdlib.mrt.zk">QueueItemHelper</a></td>
Expand Down
80 changes: 0 additions & 80 deletions api/java/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,86 +96,6 @@
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<section>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#org.cdlib">org.cdlib.*</a></li>
</ul>
</section>
</div>
<div class="constantValuesContainer"><a id="org.cdlib">
<!-- -->
</a>
<section>
<h2 title="org.cdlib">org.cdlib.*</h2>
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary">
<caption><span>org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS">LOCKS</a></code></th>
<td class="colLast"><code>"/locks"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_COLLECTIONS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_COLLECTIONS">LOCKS_COLLECTIONS</a></code></th>
<td class="colLast"><code>"/locks/collections"</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_INVENTORY">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_INVENTORY">LOCKS_INVENTORY</a></code></th>
<td class="colLast"><code>"/locks/inventory"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_QUEUE">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE">LOCKS_QUEUE</a></code></th>
<td class="colLast"><code>"/locks/queue"</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_QUEUE_ACCESS_LARGE">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_ACCESS_LARGE">LOCKS_QUEUE_ACCESS_LARGE</a></code></th>
<td class="colLast"><code>"/locks/queue/accessLarge"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_QUEUE_ACCESS_SMALL">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_ACCESS_SMALL">LOCKS_QUEUE_ACCESS_SMALL</a></code></th>
<td class="colLast"><code>"/locks/queue/accessSmall"</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_QUEUE_INGEST">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_INGEST">LOCKS_QUEUE_INGEST</a></code></th>
<td class="colLast"><code>"/locks/queue/ingest"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a id="org.cdlib.mrt.zk.MerrittLocks.LOCKS_STORAGE">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_STORAGE">LOCKS_STORAGE</a></code></th>
<td class="colLast"><code>"/locks/storage"</code></td>
</tr>
</tbody>
</table>
</li>
</ul>
</section>
</div>
</main>
Expand Down
34 changes: 20 additions & 14 deletions api/java/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ <h2 class="title">A</h2>
<div class="block">Access assembly token data</div>
</dd>
<dt><a href="org/cdlib/mrt/zk/Access.Queues.html" title="enum in org.cdlib.mrt.zk"><span class="typeNameLink">Access.Queues</span></a> - Enum in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
<dd>&nbsp;</dd>
<dd>
<div class="block">Access Assembly Queue names</div>
</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittJsonKey.html#AccessAnticipatedAvailabilityTime">AccessAnticipatedAvailabilityTime</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittJsonKey.html" title="enum in org.cdlib.mrt.zk">MerrittJsonKey</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittJsonKey.html#AccessCloudContentByte">AccessCloudContentByte</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittJsonKey.html" title="enum in org.cdlib.mrt.zk">MerrittJsonKey</a></dt>
Expand Down Expand Up @@ -495,23 +497,21 @@ <h2 class="title">L</h2>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#Locks">Locks</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS">LOCKS</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_COLLECTIONS">LOCKS_COLLECTIONS</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksCollections">LocksCollections</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_INVENTORY">LOCKS_INVENTORY</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksInventory">LocksInventory</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE">LOCKS_QUEUE</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#lockSmallAccessQueue(org.apache.zookeeper.ZooKeeper)">lockSmallAccessQueue(ZooKeeper)</a></span> - Static method in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_ACCESS_LARGE">LOCKS_QUEUE_ACCESS_LARGE</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksQueue">LocksQueue</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_ACCESS_SMALL">LOCKS_QUEUE_ACCESS_SMALL</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksQueueAccessLarge">LocksQueueAccessLarge</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_QUEUE_INGEST">LOCKS_QUEUE_INGEST</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksQueueAccessSmall">LocksQueueAccessSmall</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#LOCKS_STORAGE">LOCKS_STORAGE</a></span> - Static variable in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksQueueIngest">LocksQueueIngest</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#lockSmallAccessQueue(org.apache.zookeeper.ZooKeeper)">lockSmallAccessQueue(ZooKeeper)</a></span> - Static method in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html#LocksStorage">LocksStorage</a></span> - org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk">QueueItem.ZkPaths</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.html#longProperty(org.apache.zookeeper.ZooKeeper,org.cdlib.mrt.zk.ZKKey)">longProperty(ZooKeeper, ZKKey)</a></span> - Method in class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.html" title="class in org.cdlib.mrt.zk">QueueItem</a></dt>
<dd>&nbsp;</dd>
Expand All @@ -530,7 +530,9 @@ <h2 class="title">M</h2>
<div class="block">Lookup key names for properties stored as JSON within ZooKeeper nodes.</div>
</dd>
<dt><a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk"><span class="typeNameLink">MerrittLocks</span></a> - Class in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
<dd>&nbsp;</dd>
<dd>
<div class="block">Static methods to set and release Merritt Locks.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/MerrittLocks.html#%3Cinit%3E()">MerrittLocks()</a></span> - Constructor for class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/MerrittLocks.html" title="class in org.cdlib.mrt.zk">MerrittLocks</a></dt>
<dd>&nbsp;</dd>
<dt><a href="org/cdlib/mrt/zk/MerrittStateError.html" title="class in org.cdlib.mrt.zk"><span class="typeNameLink">MerrittStateError</span></a> - Exception in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
Expand Down Expand Up @@ -666,9 +668,13 @@ <h2 class="title">Q</h2>
<dt><span class="memberNameLink"><a href="org/cdlib/mrt/zk/QueueItem.html#%3Cinit%3E(java.lang.String,org.json.JSONObject)">QueueItem(String, JSONObject)</a></span> - Constructor for class org.cdlib.mrt.zk.<a href="org/cdlib/mrt/zk/QueueItem.html" title="class in org.cdlib.mrt.zk">QueueItem</a></dt>
<dd>&nbsp;</dd>
<dt><a href="org/cdlib/mrt/zk/QueueItem.ZkPaths.html" title="enum in org.cdlib.mrt.zk"><span class="typeNameLink">QueueItem.ZkPaths</span></a> - Enum in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
<dd>&nbsp;</dd>
<dd>
<div class="block">Standardized path names for Merritt Zookeeper nodes</div>
</dd>
<dt><a href="org/cdlib/mrt/zk/QueueItem.ZkPrefixes.html" title="enum in org.cdlib.mrt.zk"><span class="typeNameLink">QueueItem.ZkPrefixes</span></a> - Enum in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
<dd>&nbsp;</dd>
<dd>
<div class="block">Standardized prefix names for Merritt Zookeeper sequential nodes</div>
</dd>
<dt><a href="org/cdlib/mrt/zk/QueueItemHelper.html" title="class in org.cdlib.mrt.zk"><span class="typeNameLink">QueueItemHelper</span></a> - Class in <a href="org/cdlib/mrt/zk/package-summary.html">org.cdlib.mrt.zk</a></dt>
<dd>
<div class="block">The static methods in this class also provides a simplified interface for common ZooKeeper API calls.</div>
Expand Down
2 changes: 1 addition & 1 deletion api/java/member-search-index.js

Large diffs are not rendered by default.

Binary file modified api/java/member-search-index.zip
Binary file not shown.
1 change: 1 addition & 0 deletions api/java/org/cdlib/mrt/zk/Access.Queues.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ <h2 title="Enum Access.Queues" class="title">Enum Access.Queues</h2>
<hr>
<pre>public static enum <span class="typeNameLabel">Access.Queues</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;<a href="Access.Queues.html" title="enum in org.cdlib.mrt.zk">Access.Queues</a>&gt;</pre>
<div class="block">Access Assembly Queue names</div>
</li>
</ul>
</div>
Expand Down
4 changes: 3 additions & 1 deletion api/java/org/cdlib/mrt/zk/Access.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ <h3>Nested Class Summary</h3>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Access.Queues.html" title="enum in org.cdlib.mrt.zk">Access.Queues</a></span></code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Access Assembly Queue names</div>
</td>
</tr>
</table>
<ul class="blockList">
Expand Down
Loading

0 comments on commit 289bbf3

Please sign in to comment.