void function ( SlotAvailabilityListener arg0 ) { synchronized ( instanceLock ) { if ( this . slotAvailabilityListener != null ) { throw new IllegalStateException ( "srini_string" ) ; } else { this . slotAvailabilityListener = arg0 ; } } }
sets the listener that receives notifications for slot availability . concode_field_sep Object instanceLock concode_elem_sep ActorGateway actorGateway concode_elem_sep SlotAvailabilityListener slotAvailabilityListener concode_elem_sep long lastReceivedHeartBeat concode_elem_sep HardwareDescription resources concode_elem_sep int numberOfSlots concode_elem_sep Queue<Integer> availableSlots concode_elem_sep boolean isDead concode_elem_sep InstanceID instanceId concode_elem_sep Logger LOG concode_elem_sep byte[] lastMetricsReport concode_elem_sep Set<Slot> allocatedSlots concode_elem_sep InstanceConnectionInfo connectionInfo concode_field_sep byte[] getLastMetricsReport concode_elem_sep void reportHeartBeat concode_elem_sep boolean hasResourcesAvailable concode_elem_sep long getLastHeartBeat concode_elem_sep InstanceConnectionInfo getInstanceConnectionInfo concode_elem_sep InstanceID getId concode_elem_sep int getTotalNumberOfSlots concode_elem_sep boolean returnAllocatedSlot concode_elem_sep boolean isAlive concode_elem_sep SimpleSlot allocateSimpleSlot concode_elem_sep HardwareDescription getResources concode_elem_sep boolean isStillAlive concode_elem_sep void markDead concode_elem_sep SharedSlot allocateSharedSlot concode_elem_sep void cancelAndReleaseAllSlots concode_elem_sep void setMetricsReport concode_elem_sep ActorGateway getActorGateway concode_elem_sep String toString concode_elem_sep int getNumberOfAllocatedSlots concode_elem_sep int getNumberOfAvailableSlots concode_elem_sep void removeSlotListener