TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.fs
Class FsCachingController.Cache

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

private final class FsCachingController.Cache
extends Object

A cache for an individual file system entry.


Nested Class Summary
private  class FsCachingController.Cache.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.Cache(FsEntryName name)
           
 
Method Summary
 void clear()
           
 FsCachingController.Cache configure(BitField<FsInputOption> options)
           
 FsCachingController.Cache configure(BitField<FsOutputOption> options, Entry template)
           
 void flush()
           
 FsEntry getEntry()
           
 InputSocket<?> getInputSocket()
           
 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

private volatile InputSocket<?> input

output

private volatile OutputSocket<?> output

outputOptions

private volatile BitField<FsOutputOption> outputOptions

template

private volatile Entry template
Constructor Detail

FsCachingController.Cache

FsCachingController.Cache(@NonNull
                          FsEntryName name)
Method Detail

configure

@NonNull
public FsCachingController.Cache configure(@NonNull
                                                   BitField<FsInputOption> options)

configure

@NonNull
public FsCachingController.Cache configure(@NonNull
                                                   BitField<FsOutputOption> options,
                                                   @Nullable
                                                   Entry template)

flush

public void flush()
           throws IOException
Throws:
IOException

clear

public void clear()
           throws IOException
Throws:
IOException

getEntry

@CheckForNull
public FsEntry getEntry()

getInputSocket

public InputSocket<?> getInputSocket()

getOutputSocket

public OutputSocket<?> getOutputSocket()

TrueZIP Kernel 7.0-rc1

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