org.objectweb.cjdbc.controller.virtualdatabase.protocol
Class CopyLogEntry

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.virtualdatabase.protocol.CopyLogEntry
All Implemented Interfaces:
java.io.Serializable

public class CopyLogEntry
extends java.lang.Object
implements java.io.Serializable

This class defines a CopyLogEntry message. It is used to send recovery log entries over to a remote peer. Entries are sent one by one instead of as big bunch because each log entry can potentially be a huge object, e.g. if it contains a blob, and it should fit in memory.

Version:
1.0
Author:
Olivier Fambon
See Also:
Serialized Form

Field Summary
private  LogEntry entry
           
private static long serialVersionUID
           
 
Constructor Summary
CopyLogEntry(LogEntry entry)
          Creates a new CopyLogEntry object
 
Method Summary
 LogEntry getEntry()
          Returns the recovery LogEntry to be copied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entry

private LogEntry entry
Constructor Detail

CopyLogEntry

public CopyLogEntry(LogEntry entry)
Creates a new CopyLogEntry object

Parameters:
entry - the entry to be sent over to the remote peer.
Method Detail

getEntry

public LogEntry getEntry()
Returns the recovery LogEntry to be copied.

Returns:
the entry


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.