public class Lease extends Object
| Constructor and Description |
|---|
Lease(long timeSlice,
int shard) |
Lease(long timeSlice,
int shard,
String owner,
boolean finished) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getOwner() |
int |
getShard() |
long |
getTimeSlice() |
int |
hashCode() |
boolean |
isFinished() |
String |
toString() |
public Lease(long timeSlice,
int shard)
public Lease(long timeSlice,
int shard,
String owner,
boolean finished)
public long getTimeSlice()
public int getShard()
public String getOwner()
public boolean isFinished()
Copyright © 2014–2015 Red Hat, Inc.. All rights reserved.