public boolean isUsable ( ) { return isConnected ( ) && TimeUnit . MILLISECONDS . toMinutes ( new Date ( ) . getTime ( ) - lastUsage . getTime ( ) ) <= MAXIMUM_AGE_IN_MINUTES ; }
Gets whether this connection may still be used .