>>851
はいはい

private static int counter = 0;
public void foo(){
  counter ++;
  if(counter >= 100){
    // アクセス数多すぎ
    return;
  }
  try{
    // なんかの処理
  } finally {
    counter --;
  }
}
とか