public ApnsServiceBuilder withCacheLength(int cacheLength) {
        this.cacheLength = cacheLength;
        return this;
    }
Specify the number of notifications to cache for error purposes.
Default is 100

@param cacheLength  Number of notifications to cache for error purposes
@return  this
src/main/java/com/notnoop/apns/ApnsServiceBuilder.java