public class BufferedTanker extends Object
| Constructor and Description |
|---|
BufferedTanker(int cacheSize,
Tanker orig)
Constructor for the BufferedTanker object.
|
BufferedTanker(Tanker orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(BarrelReader a)
Add the contents of the given Barrel to the cache.
|
void |
close() |
void |
commit()
Store the actual state of this Tanker.
|
void |
optimize()
Description of the Method
|
public BufferedTanker(int cacheSize,
Tanker orig)
cacheSize - orig - public BufferedTanker(Tanker orig)
orig - public void commit()
public void optimize()
public void append(BarrelReader a)
a - the Barrel to add to the cachepublic void close()
Copyright © 2016 Egothor. All Rights Reserved.