org.netbeans.bootstrap/1 2.52

org.netbeans
Interface Stamps.Updater

Enclosing class:
Stamps

public static interface Stamps.Updater

A callback interface to flush content of some cache at a suitable point in time.


Method Summary
 void cacheReady()
          Callback method to notify the caller, that caches are successfully written.
 void flushCaches(DataOutputStream os)
          Callback method to allow storage of the cache to a stream.
 

Method Detail

flushCaches

void flushCaches(DataOutputStream os)
                 throws IOException
Callback method to allow storage of the cache to a stream. If an excetion is thrown, cache is invalidated.

Parameters:
os - the stream to write to
Throws:
IOException - exception in case something goes wrong

cacheReady

void cacheReady()
Callback method to notify the caller, that caches are successfully written.


org.netbeans.bootstrap/1 2.52

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.