Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bryanstephens on github.
  • I am bryanstephens (https://keybase.io/bryanstephens) on keybase.
  • I have a public key whose fingerprint is E407 4B2E 9D3F 00E9 0AAB 281A DDFD C8A8 67AE 77F3

To claim this, I am signing this object:

@bryanstephens
bryanstephens / EventThreadHangingTest
Created June 19, 2015 21:47
Docker-java event thread that is still blocking
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.EventCallback;
import com.github.dockerjava.api.model.Event;
import com.github.dockerjava.core.DockerClientBuilder;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Created by bryan on 6/19/15.