Local data store. Cookie,session,cache's understanding. The timer class is mainly used for the triggering of timed and periodic tasks. Refresh Store,panel

Source: Internet
Author: User

Local data store

varMonthstore = ext.create (' Ext.data.Store '), {storeId:' Monthstore ', AutoLoad:false, fields: [' Month_ '], data: [{month_:' 1 '}, {month_:' 2 '}, {month_:' 3 '}, {month_:' 4 '}, {month_:' 5 '}, {month_:' 6 '}, {month_:' 7 '}, {month_:' 8 '}, {month_:' 9 '}, {month_:' 10 '}, {month_:' 11 '}, {month_:' 12 '            } ]        });
Cookies Save session data. If the client disables cookies, the session will also expire. A cookie is a client's storage space, maintained by a browser. The cache is server-side caching, which is accessible and shared by all users.

In Java, the Timer class is mainly used for timing, periodic task triggering,
Schedule and Scheduleatfixedrate methods
Schedule Method : The next execution time is relative to the point in time when the last actual execution completed, so the execution time is continually postponed
Scheduleatfixedrate Method : The next execution time is relative to the point in time of the last start, so execution time is not deferred and concurrency is present

Refresh Ext.tree.Panel: Matbudgetcatpanel.getview (). Refresh (); normal Panel may not be applicable
Refresh Store: Ext.data.StoreManager.lookup (' Matauxplanrecstore '). Load (), and re-request the loading of the dataset, depending on the display

Local data store. Cookie,session,cache's understanding. The timer class is mainly used for the triggering of timed and periodic tasks. Refresh Store,panel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.