Added getRetryQueueSize to be able to monitor the retryqueue from outside this class. Also added getQueueSize for symmetry.