Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.javatest
Class TestResultCache

    java.lang.Object
      com.sun.javatest.TestResultCache

    public class TestResultCache

extends java.lang.Object

Class which maintains a cache of the results currently existing inside a work directory. It is designed to allow the harness to get general information (name, status) about tests without having to open all the result files.

Nested Class Summary
`static interface` | `TestResultCache.Observer` Interface which allows an external class to monitor the cache's activities.

Constructor Summary
`TestResultCache(WorkDirectory workDir, TestResultCache.Observer observer)` Primary constructor for a cache.

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TestResultCache

    public TestResultCache(WorkDirectory workDir,
                           TestResultCache.Observer observer)
                    throws java.io.IOException

  Primary constructor for a cache.

  Parameters:
    `workDir` - the work directory to attach to
    `observer` - the observer to notify of cache events
  Throws:
    `java.io.IOException` - if an error occurs reading the cache file

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.