com.sleepycat.je.sync.impl
Class LogChangeReader.JEChange

java.lang.Object
  extended by com.sleepycat.je.sync.impl.LogChangeReader.JEChange
All Implemented Interfaces:
ChangeReader.Change
Enclosing class:
LogChangeReader

public class LogChangeReader.JEChange
extends Object
implements ChangeReader.Change


Constructor Summary
LogChangeReader.JEChange(ChangeReader.ChangeType type, DatabaseEntry key, DatabaseEntry data, String dbName)
           
 
Method Summary
 DatabaseEntry getData()
          Returns the record data for this change, or null if this is a DELETE operation.
 String getDatabaseName()
          Returns the name of the local database to which this change was applied.
 DatabaseEntry getKey()
          Returns the record key for this change.
 ChangeReader.ChangeType getType()
          Returns the operation type of this change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogChangeReader.JEChange

public LogChangeReader.JEChange(ChangeReader.ChangeType type,
                                DatabaseEntry key,
                                DatabaseEntry data,
                                String dbName)
Method Detail

getType

public ChangeReader.ChangeType getType()
Description copied from interface: ChangeReader.Change
Returns the operation type of this change.

Specified by:
getType in interface ChangeReader.Change

getKey

public DatabaseEntry getKey()
Description copied from interface: ChangeReader.Change
Returns the record key for this change.

Specified by:
getKey in interface ChangeReader.Change

getData

public DatabaseEntry getData()
Description copied from interface: ChangeReader.Change
Returns the record data for this change, or null if this is a DELETE operation.

Specified by:
getData in interface ChangeReader.Change

getDatabaseName

public String getDatabaseName()
Description copied from interface: ChangeReader.Change
Returns the name of the local database to which this change was applied.

Specified by:
getDatabaseName in interface ChangeReader.Change


Copyright (c) 2004-2012 Oracle. All rights reserved.