com.cloudera.api.model
Class ApiParcelUsageParcel

java.lang.Object
  extended by com.cloudera.api.model.ApiParcelUsageParcel

public class ApiParcelUsageParcel
extends Object

This object is used to represent a parcel within an ApiParcelUsage.


Constructor Summary
ApiParcelUsageParcel()
           
 
Method Summary
 boolean equals(Object o)
           
 ApiParcelRef getParcelRef()
          Reference to the corresponding Parcel object.
 int getProcessCount()
          How many running processes on the cluster are using the parcel.
 int hashCode()
           
 boolean isActivated()
          Is this parcel currently activated on the cluster.
 void setActivated(boolean activated)
           
 void setParcelRef(ApiParcelRef parcelRef)
           
 void setProcessCount(int processCount)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiParcelUsageParcel

public ApiParcelUsageParcel()
Method Detail

getParcelRef

public ApiParcelRef getParcelRef()
Reference to the corresponding Parcel object.


setParcelRef

public void setParcelRef(ApiParcelRef parcelRef)

getProcessCount

public int getProcessCount()
How many running processes on the cluster are using the parcel.


setProcessCount

public void setProcessCount(int processCount)

isActivated

public boolean isActivated()
Is this parcel currently activated on the cluster.


setActivated

public void setActivated(boolean activated)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.