public class CacheControl extends Object
Modifier and Type | Field and Description |
---|---|
static com.yahoo.processing.request.CompoundName |
nocachewrite |
Constructor and Description |
---|
CacheControl(int sizeMegaBytes,
double cacheTimeOutSeconds) |
Modifier and Type | Method and Description |
---|---|
int |
capacity()
Returns the capacity of the packet cache in megabytes
|
void |
clear()
Test method.
|
PacketWrapper |
lookup(CacheKey key,
Query query) |
boolean |
useCache(Query query) |
public static final com.yahoo.processing.request.CompoundName nocachewrite
public final int capacity()
public final boolean useCache(Query query)
public final PacketWrapper lookup(CacheKey key, Query query)
public void clear()
Copyright © 2018. All rights reserved.