getTimeout

TODO(rz): Use Duration.

abstract long getTimeout()