com.sun.jini.mercury
Class RemoteEventDataCursor

java.lang.Object
  extended by com.sun.jini.mercury.RemoteEventDataCursor
All Implemented Interfaces:
Serializable

 class RemoteEventDataCursor
extends Object
implements Serializable

Trivial class (struct) that simply holds the current read count and the associated (next unread) read position. U?sed as the client-side cookie for PersistentEventLog.

Since:
2.1

Field Summary
private  long readCount
           
private  long readPosition
           
private static long serialVersionUID
           
 
Constructor Summary
RemoteEventDataCursor(long count, long cursor)
           
 
Method Summary
(package private)  long getReadCount()
           
(package private)  long getReadPosition()
           
 
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

readCount

private final long readCount

readPosition

private final long readPosition
Constructor Detail

RemoteEventDataCursor

RemoteEventDataCursor(long count,
                      long cursor)
Method Detail

getReadCount

long getReadCount()

getReadPosition

long getReadPosition()


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.