title: How to reload Json service every 10 seconds SAPUI5
body: <p>I am new in SAPUI5. I want to reload json service every 10 seconds.My controller code is.</p>
  
  <pre><code>modelServices :function()
      {
  
              var oModeldata = new sap.ui.model.json.JSONModel("https://my-example.com/status/");
              this.getView().setModel(oModeldata, "datalake");
      },`
  </code></pre>
  
  <p>i call this method from init function of controller and my view is </p>
  
  <pre><code>    &lt;TileContainer id="lstDataLakeView" tiles="{datalake&gt;/collectionStatus}"&gt;
          &lt;CustomTile class="sapMTile" borderVisible="true"&gt;
              &lt;l:VerticalLayout class="sapUiContentPadding" width="100%"&gt;
                  &lt;l:content&gt;
                      &lt;core:Icon src="sap-icon://database" class="size2" color="#55acee"&gt;
                          &lt;core:layoutData&gt;
                              &lt;FlexItemData growFactor="1"/&gt;
                          &lt;/core:layoutData&gt;
                      &lt;/core:Icon&gt;
                      &lt;FlexBox alignItems="End" justifyContent="End"&gt;
                          &lt;items&gt;
                              &lt;Text text="Size {datalake&gt;size}" tooltip="Size"/&gt;
                          &lt;/items&gt;
                      &lt;/FlexBox&gt;
                  &lt;/l:content&gt;
              &lt;/l:VerticalLayout&gt;
          &lt;/CustomTile&gt;
      &lt;/TileContainer&gt;
  </code></pre>
  
  <p>I want to refresh this tile after every 10 seconds. I know there is a method in javascript setTimeInterval(function,time); or setTimeOut() but I'm now sure here how can i use it. </p>