view src/org/dancres/blitz/remote/transport/Write.java @ 32:243c74d599bf

Update ignores
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 12 Jun 2010 10:41:47 +0100
parents 3dc0c5604566
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;
    }
}