Interface Cache.TwoStreamProvider
- Enclosing interface:
- Cache
public static interface Cache.TwoStreamProvider
Interface used by the file caching system. Items wishing to participate in file caching will need to
implement this interface. This interface gives the file cache a means to get hold of two contents that will be cached.
- Since:
- v3.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(OutputStream out1, OutputStream out2) Produce the complete stream and write to the designated output stream.
-
Method Details
-
write
Produce the complete stream and write to the designated output stream. Classes implementing this method should not close the output stream.- Parameters:
out1- first designated output stream.out2- second designated output stream.
-