question: gets the number of the root slot . this code behaves equal to getroot . getslotnumber . if this slot is the root of the tree of shared slots , then this method returns the same value as #getslotnumber . concode_field_sep JobID jobID concode_elem_sep SharedSlot parent concode_elem_sep int status concode_elem_sep int CANCELLED concode_elem_sep Instance instance concode_elem_sep AbstractID groupID concode_elem_sep int slotNumber concode_elem_sep AtomicIntegerFieldUpdater<Slot> STATUS_UPDATER concode_elem_sep int ALLOCATED_AND_ALIVE concode_elem_sep int RELEASED concode_field_sep SharedSlot getParent concode_elem_sep boolean isCanceled concode_elem_sep JobID getJobID concode_elem_sep String hierarchy concode_elem_sep int getSlotNumber concode_elem_sep AbstractID getGroupID concode_elem_sep String getStateName concode_elem_sep boolean isAlive concode_elem_sep boolean markReleased concode_elem_sep void releaseSlot concode_elem_sep int getNumberLeaves concode_elem_sep boolean markCancelled concode_elem_sep String toString concode_elem_sep Instance getInstance concode_elem_sep Slot getRoot concode_elem_sep boolean isReleased
target: int function ( ) { if ( parent == null ) { return slotNumber ; } else { return parent . getRootSlotNumber ( ) ; } }