com.sun.labs.minion.classification
Interface Profiler

All Superinterfaces:
com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable
All Known Implementing Classes:
KeyWordProfiler

public interface Profiler
extends com.sun.labs.util.props.Configurable

An interface for profilers that will run after dump time for a new partition.


Method Summary
 boolean profile(SearchEngineImpl engine, InvFileMemoryPartition mp, InvFileDiskPartition dp)
          Runs the profiler on a newly dumped disk partition.
 
Methods inherited from interface com.sun.labs.util.props.Configurable
newProperties
 

Method Detail

profile

boolean profile(SearchEngineImpl engine,
                InvFileMemoryPartition mp,
                InvFileDiskPartition dp)
Runs the profiler on a newly dumped disk partition.

Parameters:
engine - the engine in which we'll do the profiling.
mp - the memory partition that's being profiled against.
dp - the partition that we're going to profile against.
Returns:
true if modifications were made to the memory partition, false otherwise.