class_docstr: The internal interface for functions that process over grouped windows.
class_docstr_tok: ["The","internal","interface","for","functions","that","process","over","grouped","windows","."]
docstr: Cleans the given window if needed.
  
  :param window: The window to cleanup
  :param current_time: The current timestamp
docstr_tok: ["Cleans","the","given","window","if","needed",".",":","param","window",":","The","window","to","cleanup",":","param","current_time",":","The","current","timestamp"]
code: def clean_window_if_needed(self, window: W, current_time: int):
      """
      Cleans the given window if needed.
  
      :param window: The window to cleanup
      :param current_time: The current timestamp
      """
      pass
  
imports: from abc import abstractmethod, ABC
  from typing import Generic, List, Iterable, Dict, Set
  from pyflink.common import Row
  from pyflink.common.constants import MAX_LONG_VALUE
  from pyflink.datastream.state import MapState
  from pyflink.fn_execution.table.window_assigner import WindowAssigner, PanedWindowAssigner, MergingWindowAssigner
  from pyflink.fn_execution.table.window_context import Context, K, W
label_desc: Use image node_id 10 for calling the InternalWindowProcessFunction obj's underlying member method code with example usage: obj.clean_window_if_needed(window, current_time) without return types