private void setTypeRequested ( ResourceType type ) { synchronized ( typeToFirstWait ) { if ( ! typeToFirstWait . containsKey ( type ) ) { typeToFirstWait . put ( type , null ) ; } } }
Set the resource type to requested for first wait metrics . The value will be set to null to denote the difference between waiting and requested and not waiting .