public static class CacheDirectiveStats.Builder extends Object
| Constructor and Description | 
|---|
| Builder()Creates an empty builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDirectiveStats | build()Builds a new CacheDirectiveStats populated with the set properties. | 
| CacheDirectiveStats.Builder | setBytesCached(long bytesCached)Sets the bytes cached by this directive. | 
| CacheDirectiveStats.Builder | setBytesNeeded(long bytesNeeded)Sets the bytes needed by this directive. | 
| CacheDirectiveStats.Builder | setFilesCached(long filesCached)Sets the files cached by this directive. | 
| CacheDirectiveStats.Builder | setFilesNeeded(long filesNeeded)Sets the files needed by this directive. | 
| CacheDirectiveStats.Builder | setHasExpired(boolean hasExpired)Sets whether this directive has expired. | 
public CacheDirectiveStats build()
public CacheDirectiveStats.Builder setBytesNeeded(long bytesNeeded)
bytesNeeded - The bytes needed.public CacheDirectiveStats.Builder setBytesCached(long bytesCached)
bytesCached - The bytes cached.public CacheDirectiveStats.Builder setFilesNeeded(long filesNeeded)
filesNeeded - The number of files neededpublic CacheDirectiveStats.Builder setFilesCached(long filesCached)
filesCached - The number of files cached.public CacheDirectiveStats.Builder setHasExpired(boolean hasExpired)
hasExpired - if this directive has expiredCopyright © 2008–2023 Apache Software Foundation. All rights reserved.