Topic
All writing →Writing about Java
5 posts
2016
How to timeout a thread in Java / Limiting a threads execution time
Limit how long a piece of Java code may run using thread interruption and a timeout, and the catch that stops it working on arbitrary code.
2015
I get NoNodeAvailableException on long-running processes using SSL TransportClient with Found.no
A hosted Elasticsearch hostname resolves to several IPs. Add only the first to a TransportClient and long-running processes eventually fail with NoNodeAvailableException.
When I index something in Elasticsearch, why doesn't it show in my search straight after?
Elasticsearch is near-real-time: new documents appear after the next refresh. What that means and how to force it when you must.
2014
Centralising Clojure/Java logging with Logback, LogStash, ElasticSearch, and Kibana
Shipping Clojure and Java logs from Logback through Logstash into Elasticsearch, and reading them in Kibana.
2012
Integrating Logback with Clojure
Getting Logback working as the logging backend for a Clojure project.