private static class DropWhileConnectingTest.AccessThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private int |
id |
private static int |
idCounter |
private static java.lang.Object |
LOCK |
private DropWhileConnectingTest.Report |
master |
private static boolean |
noWait
Whether to wait at certain points in the execution.
|
private java.util.Random |
rnd |
private java.lang.String |
url |
private boolean |
waited
Flag used to avoid waiting at multiple points in the execution.
|
Constructor and Description |
---|
AccessThread(DropWhileConnectingTest.Report master,
java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
private void |
allowWait(boolean onlyWaitOnce)
Method mostly doing nothing, but sometimes it decides to put the
thread to sleep for a little while.
|
void |
run() |
private static final java.lang.Object LOCK
private static int idCounter
private static final boolean noWait
private final int id
private final DropWhileConnectingTest.Report master
private final java.lang.String url
private final java.util.Random rnd
private boolean waited
public AccessThread(DropWhileConnectingTest.Report master, java.lang.String url)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.