view src/org/dancres/blitz/remote/transport/Write.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
line wrap: on
line source

package org.dancres.blitz.remote.transport;

import java.io.Serializable;

import net.jini.core.transaction.Transaction;

import org.dancres.blitz.mangler.MangledEntry;

/**
 */
public class Write implements Serializable {
    private long _leaseTime;
    private MangledEntry _entry;
    private Transaction _txn;

    public Write(MangledEntry anEntry, Transaction aTxn, long aLeaseTime) {
        _leaseTime = aLeaseTime;
        _entry = anEntry;
        _txn = aTxn;
    }

    public MangledEntry getEntry() {
        return _entry;
    }

    public Transaction getTxn() {
        return _txn;
    }

    public long getLeaseTime() {
        return _leaseTime;
    }
}