org.compass.core.lucene.engine.transaction.support
Class TransactionJob

java.lang.Object
  extended by org.compass.core.lucene.engine.transaction.support.TransactionJob
All Implemented Interfaces:
Serializable

public class TransactionJob
extends Object
implements Serializable

A transaction job represents a job that needs to be performed.

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
static class TransactionJob.Type
          The type of the transaction job.
 
Constructor Summary
TransactionJob(TransactionJob.Type type, InternalResource resource)
           
TransactionJob(TransactionJob.Type type, ResourceKey resourceKey)
           
 
Method Summary
 void attach(SearchEngineFactory searchEngineFactory)
           
 InternalResource getResource()
           
 ResourceKey getResourceKey()
           
 String getResourceUID()
           
 String getSubIndex()
           
 TransactionJob.Type getType()
           
 Term getUIDTerm()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionJob

public TransactionJob(TransactionJob.Type type,
                      InternalResource resource)

TransactionJob

public TransactionJob(TransactionJob.Type type,
                      ResourceKey resourceKey)
Method Detail

getType

public TransactionJob.Type getType()

getResourceKey

public ResourceKey getResourceKey()

getResource

public InternalResource getResource()

getResourceUID

public String getResourceUID()

getSubIndex

public String getSubIndex()

getUIDTerm

public Term getUIDTerm()

attach

public void attach(SearchEngineFactory searchEngineFactory)

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2008 The Compass Project.