TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.fs
Class FsCachingController.EntryCache

java.lang.Object
  extended by de.schlichtherle.truezip.fs.FsCachingController.EntryCache
Enclosing class:
FsCachingController

private class FsCachingController.EntryCache
extends Object

A cache for the contents of an individual file system entry.


Nested Class Summary
private  class FsCachingController.EntryCache.ProxyInputSocket
          An input socket proxy.
private  class FsCachingController.EntryCache.ProxyOutputSocket
          An output socket proxy.
 
Field Summary
private  IOCache cache
           
private  InputSocket<?> input
           
private  FsEntryName name
           
private  OutputSocket<?> output
           
private  BitField<FsOutputOption> outputOptions
           
private  Entry template
           
 
Constructor Summary
FsCachingController.EntryCache(FsEntryName name)
           
 
Method Summary
(package private)  void clear()
           
(package private)  FsCachingController.EntryCache configure(BitField<FsInputOption> options)
           
(package private)  FsCachingController.EntryCache configure(BitField<FsOutputOption> options, Entry template)
           
(package private)  void flush()
           
(package private)  FsEntry getEntry()
           
(package private)  InputSocket<?> getInputSocket()
           
(package private)  OutputSocket<?> getOutputSocket()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final FsEntryName name

cache

private final IOCache cache

input

@CheckForNull
private volatile InputSocket<?> input

output

@CheckForNull
private volatile OutputSocket<?> output

outputOptions

@Nullable
private volatile BitField<FsOutputOption> outputOptions

template

@CheckForNull
private volatile Entry template
Constructor Detail

FsCachingController.EntryCache

FsCachingController.EntryCache(FsEntryName name)
Method Detail

configure

FsCachingController.EntryCache configure(BitField<FsInputOption> options)

configure

FsCachingController.EntryCache configure(BitField<FsOutputOption> options,
                                         @CheckForNull
                                         Entry template)

flush

void flush()
     throws IOException
Throws:
IOException

clear

void clear()
     throws IOException
Throws:
IOException

getEntry

@CheckForNull
FsEntry getEntry()

getInputSocket

InputSocket<?> getInputSocket()

getOutputSocket

OutputSocket<?> getOutputSocket()

TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.