01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: *
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * @author Mikhail A. Markov
21: * @version $Revision: 1.4.4.1 $
22: */package java.rmi.dgc;
23:
24: import java.io.Serializable;
25:
26: /**
27: * @com.intel.drl.spec_ref
28: *
29: * @author Mikhail A. Markov
30: * @version $Revision: 1.4.4.1 $
31: */
32: public final class Lease implements Serializable {
33: private static final long serialVersionUID = -5713411624328831948L;
34: private VMID vmid;
35: private long value;
36:
37: /**
38: * @com.intel.drl.spec_ref
39: */
40: public Lease(VMID vmid, long l) {
41: this .vmid = vmid;
42: this .value = l;
43: }
44:
45: /**
46: * @com.intel.drl.spec_ref
47: */
48: public VMID getVMID() {
49: return vmid;
50: }
51:
52: /**
53: * @com.intel.drl.spec_ref
54: */
55: public long getValue() {
56: return value;
57: }
58: }
|