@ com . netflix . servo . annotations . Monitor ( name = "numOfElementsinASGCache" , description = "Number of elements in the ASG Cache" , type = DataSourceType . GAUGE ) public long getNumberofElementsinASGCache ( ) { return asgCache . size ( ) ; }
Gets the number of elements in the ASG cache .