step.encoding.profile
Class PCacheStrategy
java.lang.Object
|
+--step.encoding.Encoder
|
+--step.encoding.Strategy
|
+--step.encoding.RegularValueStrategy
|
+--step.encoding.CacheStrategy
|
+--step.encoding.profile.PCacheStrategy
- All Implemented Interfaces:
- Profiled
- public class PCacheStrategy
- extends CacheStrategy
- implements Profiled
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PCacheStrategy
public PCacheStrategy(Encoder baseEncoder,
int cacheSize)
encode
public void encode(StepObject o,
EncodeContext context)
throws EncoderException,
IOException
- Description copied from class:
CacheStrategy
- Encode a value using its cache slot ID.
- Overrides:
encode
in class CacheStrategy
- Throws:
IOException
- if the encode operation encountered an I/O failure.
EncoderException
- if the encode operation encountered an error.
printProfile
public void printProfile(PrintWriter out)
- Specified by:
printProfile
in interface Profiled