public void clear() {
		requests.clear();
		if (errors != null) {
			synchronized (errors) {
				errors.clear();
			}
		}
		startDate = new Date();
	}
@Test
	public void testClear() {
		counter.addRequest("test clear", 100, 50, 50, false, 1000);
		counter.clear();
		assertEquals("requests count", 0, counter.getRequestsCount());
	}