<h2>org.autoplot.servlet.ServletInfo</h2><p>servlet for reporting version information. This should be updated manually before adding and releasing new features.</p> <h2>ServletInfo( )</h2> <p></p> <hr> <a name="version"></a> <h2>version</h2> <p></p> <hr> <a name="getAgeMillis"></a> <h2>getAgeMillis</h2> getAgeMillis( ) → long <p></p> <h3>Returns:</h3> long <br><br> <a href="https://github.com/autoplot/dev/search?q=getAgeMillis&unscoped_q=getAgeMillis">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/servlet/ServletInfo.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/servlet/ServletInfo.html#getAgeMillis">[view on old javadoc]</a> <br> <br> <hr> <a name="getCacheDirectory"></a> <h2>getCacheDirectory</h2> getCacheDirectory( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> <p>return the location of the cache which this server will use, a directory in /tmp/apsrv.</p> <h3>Returns:</h3> a java.io.File <br><br> <a href="https://github.com/autoplot/dev/search?q=getCacheDirectory&unscoped_q=getCacheDirectory">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/servlet/ServletInfo.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/servlet/ServletInfo.html#getCacheDirectory">[view on old javadoc]</a> <br> <br> <hr> <a name="getDurationForHumans"></a> <h2>getDurationForHumans</h2> getDurationForHumans( long dt ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>return the duration in a easily-human-consumable form.</p> <h3>Parameters</h3> dt - the duration in milliseconds. <h3>Returns:</h3> a duration like "2.6 hours" <br><br> <a href="https://github.com/autoplot/dev/search?q=getDurationForHumans&unscoped_q=getDurationForHumans">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/servlet/ServletInfo.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/servlet/ServletInfo.html#getDurationForHumans">[view on old javadoc]</a> <br> <br> <hr> <a name="getServletInfo"></a> <h2>getServletInfo</h2> getServletInfo( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>Returns a short description of the servlet.</p> <h3>Returns:</h3> a String containing servlet description <br><br> <a href="https://github.com/autoplot/dev/search?q=getServletInfo&unscoped_q=getServletInfo">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/servlet/ServletInfo.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/servlet/ServletInfo.html#getServletInfo">[view on old javadoc]</a> <br> <br> <hr> <a name="isCaching"></a> <h2>isCaching</h2> isCaching( ) → boolean <p>return true if we can cache requests.</p> <h3>Returns:</h3> a boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isCaching&unscoped_q=isCaching">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/servlet/ServletInfo.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/servlet/ServletInfo.html#isCaching">[view on old javadoc]</a> <br> <br>