Java com.google.common.util.concurrent TimeLimiter fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent TimeLimiter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent TimeLimiter.

The text is from its open source code.

Method

TcallWithTimeout(Callable callable, long timeoutDuration, TimeUnit timeoutUnit, boolean interruptible)
Invokes a specified Callable, timing out after the specified time limit.
TnewProxy(T target, Class interfaceType, long timeoutDuration, TimeUnit timeoutUnit)
Returns an instance of interfaceType that delegates all method calls to the target object, enforcing the specified time limit on each call.