How to tune the interval time of keyRepeated
Hi, I use keyRepeated to deal some keyboard events. But I want to adjust the frequency of keyRepeated event to be higher/the interval time to be smaller(the default is 100ms), how can I ? Thx
Yes, it's a choice. If j2me can't provide it to u, so do it yourself! :-). Oh, If there is no way to do it surely, I 'll try this way. Thanks for your response.
Similar Messages
-
How to set the interval time in the JFormattedTextField? Pls Contribute..
Hi Frienz,
Hi have a following code in which i want set the interval time for the TextField by 15 min
So how it is possible please tell me out.
DateFormatter frmtr = new DateFormatter();
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
frmtr.setFormat(sdf);
frmtr.setAllowsInvalid(false);
DefaultFormatterFactory factory = new DefaultFormatterFactory(frmtr, frmtr, frmtr);
fmtToTime.setFormatterFactory(factory);AFAIK there is no easy (pure java) way: either you exec something (depending on your paltform) or use native code. Appropriate privileges will be necessary.
-
How to Tune the Transactions/ Z - reports /Progr..of High response time
Dear friends,
in <b>ST03</b> work load anlysis menu.... there are some z-reports, transactions, and some programmes are noticed contineously that they are taking the <b>max. response time</b> (and mostly >90%of time is DB Time ).
how to tune the above situation ??
Thank u.Siva,
You can start with some thing like:
ST04 -> Detail Analysis -> SQL Request (look at top disk reads and buffer get SQL statements)
For the top SQL statements identified you'd want to look at the explain plan to determine if the SQL statements is:
1) inefficient
2) are your DB stats up to date on the tables (note up to date stats does not always means they are the best)
3) if there are better indexes available, if not would a more suitable index help?
4) if there are many slow disk reads, is there an I/O issue?
etc...
While you're in ST04 make sure your buffers are sized adequately.
Also make sure your Oracle parameters are set according to this OSS note.
Note 830576 - Parameter recommendations for Oracle 10g -
how to reduce the execution time for the below query..."sum" operation is taking too much long time....
SELECT
B.DP_AVPS_STATUS,
SUM(DP_AD_CURR_BAL*D.ISIN_CLOSE_PRICE) Qty,
B.DP_NET_WORTH,
B.CMN_DP_FLAG,
B.RESTRAIN_TYPE ,
B.LETT_GENR_DATE,
E.MAX_NET_WORTH,
E.MIN_NET_WORTH
FROM DPMADV0 A, PABRNCHDTLP0 B, PABANKCCYP0 D,PADPNETWORTHDTLP0 E,
(SELECT CID_NUMB FROM CFCUSTMASTD0
WHERE SUB_TYPE NOT IN (1,2,5,6,7,28,29,30,31,40,41,48,49,50,57,83)) C
WHERE A.DP_AD_BR_NBR = B.BRNCH_NUMB
AND A.DP_AD_CCY_CDE = D.CCY_ALPHA_CODE
AND A.DP_AD_ACCT_NBR = C.CID_NUMB
AND E.DP_ACCOUNT_TYPE = B.DP_ACCOUNT_TYPE
AND SUBSTR(B.BRNCH_NUMB,1,3) like SUBSTR(:hvBrnchNumb,1,3)
AND ((B.DP_TYPE IN (2) AND B.DP_ACCOUNT_TYPE IN (10, 11)) or
(B.DP_TYPE IN (3) and B.DP_ACCOUNT_TYPE=11 ) )
AND B.DEL_FLAG = 'N'
AND B.DP_STATUS = 'A'
AND D.ISIN_STATUS = 'A'
GROUP BY B.DP_NET_WORTH,B.RESTRAIN_TYPE,B.DP_AVPS_STATUS,E.MAX_NET_WORTH,
E.MIN_NET_WORTH,B.CMN_DP_FLAG,B.LETT_GENR_DATE;Hi,
please produce a plan with rowsource statistics (if not sure how, follow instructions in http://savvinov.com/2012/09/24/a-sqlplus-script-for-diagnosing-poor-sql-plans/) and post it using tags to preserve formatting.
Best regards,
Nikolay
P.S. I also suggest that you work on your open threads:
Handle: 946903
Status Level: Newbie
Registered: Jul 16, 2012
Total Posts: 11
Total Questions: 5 (5 unresolved) -
How to tune the query...?
Hi all,
I am having a table with millions of records and the query is taking hours
time. How to tune the query apart from doing the following things.
1. Creating or Deleting indexes.
2. Using Bind variables.
3. Using Hints.
4. Updating the Statitics regurarly.
Actually, i have asked this question in interview how to tune the query.
I told him the above 4 things. Then he told, these are not working, then
how you will tune this query.
Thanks in advance,
Paluser546710 wrote:
Actually, i have asked this question in interview how to tune the query.
I told him the above 4 things. Then he told, these are not working, then
how you will tune this query.It actually depends on the scenario/problem given.
You may want to read this first.
When your query takes too long ...
When your query takes too long ...
HOW TO: Post a SQL statement tuning request - template posting
HOW TO: Post a SQL statement tuning request - template posting -
How to accelerate the processing time of pattern match
How to accelerate the processing time of pattern match
If my camera acquire an image in 50ms, but when we analyze this image with pattern match, we need about 300ms. Except using queue to seprate acquisition
and analysis to different loops, there is another way to directly accelerate the processing time of pattern match ? Maybe compact rio with FPGA ?
But I saw a paper in NI web, there is no this function in c-rio ?
Any suggersion will be very apperciated ~
Ricky
Attachments:
aa.png 65 KBHello,
what matching algorithm are you using? You can reduce time using the Gaussian pyramids algorithm.You can fine tune the parameters using the advanced options.
What is your template size/image resolution?
I suppose using a computer with better performance would also work...
Best regards,
K
https://decibel.ni.com/content/blogs/kl3m3n
"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful." -
How to change the default time?
when you finish the action of dialing ,the CCM system recognize your finish after 10s .How to change the default time in Service Parameters ,which is the detail Parameters ?
Please see the following link for information on configuring the interdigit timeout.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00800dab26.shtml
Hope this helps. If so, please rate the post.
Brandon -
How to get the system time in a Swing application ?
I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!
Check this link, I hope it helps
http://202.71.136.142:8080/globalleafs/Swing/View.jsp?slno=22&tbl=0 -
How to get the exact time when condition records has been created?
Hello All,
Can anyone thorw some light on - how to find the exact time on which a particular condition record has been created?
I have tried to get it from KONP {by inputting condition record number}, but unfortunately time is not tracked over there, but the date is tracked.
Await your valuable inputs on the same.
Regards,
HrishiDear Hrishi,
Try with this
Go to display mode of the condition record through VK13 transaction from the condition record overview screen go to menu Environment >Changes>Click on Change report now system will take you to the Change Documents for conditions selection screen here you input proper selection data then execute now system will give the all the details here you can find the time also.
I hope this will help you,
Regards,
Murali. -
How to capture the Logout time in xMII
Hi Friends,
How to capture the logout time in xMII when the user clicks on Logout link
ThanksSrikanth,
It would be better to use a database table(s) to store your audit trail information than an xml file, which could grow beyond a manageable size and then require housekeeping efforts and file rolling, etc. It would also be much easier to query user related information out of the logs, pareto charts for failed vs. successful login attempts, etc. if the data was stored in a database.
Have you considered modifying the Relogin.jsp page link in the portal's sub-menu bar? How about making your own version of this web page and changing the link pointer? Keep in mind that whatever result you come up with here will need a significant update for NetWeaver UME compatibility in version 12.0.
Regards,
Jeremy -
How to get the end time of an Interface?
How to get the end time of an Interface?
Hi,
As per your reuirement. I will suggest to use IKM SQL to SQL append. and Before Insert statement in IKM u need to add one more step i.e update. Your update should be like this
command on sourse.
<%for (int i=0; i < odiRef.getDataSetCount(); i++){%>
<%=odiRef.getDataSet(i, "Operator")%>
select <%=odiRef.getPop("DISTINCT_ROWS")%>
<%=odiRef.getColList(i,"", "[EXPRESSION]\t[ALIAS_SEP] [CX_COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
from <%=odiRef.getFrom(i)%>
where <% if (odiRef.getDataSet(i, "HAS_JRN").equals("1")) { %>
JRN_FLAG <> 'D'
<%} else {%>
(1=1)
<% } %>
<%=odiRef.getJoin(i)%>
<%=odiRef.getFilter(i)%>
<%=odiRef.getJrnFilter(i)%>
<%=odiRef.getGrpBy(i)%>
<%=odiRef.getHaving(i)%>
<%}%>
Command on target..
UPDATE <%=odiRef.getTable("L", "TARG_NAME", "A")%> T
set <%=odiRef.getColList("", "T.[COL_NAME]", ",\n\t", "", "(UD2)")%> ='N',
<%=odiRef.getColList("", "T.[COL_NAME]", ",\n\t", "", "(UD1)")%> =SYSDATE
where (<%=odiRef.getColList("","T.[COL_NAME]", ", ", "", "UK")%>)
in(<%=snpRef.getColList("", ":[CX_COL_NAME]", ", ", "", "UK")%>) and <%=odiRef.getColList("", "T.[COL_NAME]", ",\n\t", "", "(UD2)")%> <> 'N'
check UD1 and UD2 columns.
Hope this will help you.
Regards
Saurabh -
How to track the login time and logout times of clients
hai
please give me the solution
suppose there are 5 systems connected in LAN.
how to track the login time and logout times of clients
for a given time(may be one day or 1 hour) using any programming language.
please give me the solutionWhen the client logs in you write the client's ID and the current time to a database. Likewise when the client logs out. Assuming of course that you have a program that knows when those events occur.
-
How to avoid the long time consuming process of settlement on periodic basi
For investment Project(purpose of capitalisation) related expenses We would like to show it Directly in Balance Sheet rather than P/L A/C.Whether it is feasible or not?as per one of consultant it will be first hit the p/L and after settlement it will only be shown in B/Sheet.So how to avoid the long time consuming process of settlement on periodic basis.
Hi, could you write down an example? And what you mean by investment project-is this an WBS?
-
How to increase the waiting time for response in Adapter Engine not in IE
Hi Experts,
It is a SOAP to Proxy Synchronous interface. SOAP system is sending the request to PI, PI sending the same request to ECC system, After execution of some logic response back to PI in 7 minutes. In ABAP Stack(sxmb_moni) processing the response message also successfully with success flag after completion of these 7 minutes. But exactly 5 minutes later getting the error at Java Stack RWB- in communication channel monitoring i.e
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message bd2bf8d0-b2c2-11e0-c383-001cc4fb5cb7(OUTBOUND) expired. We have set the "runtime-HTTP_TIMEOUT" parameter as 3600. thats why in Integration engine it is processing successfully.
kindly suggest me how to increase the waiting time for response in Adapter Engine. Exactly after 5 mins getting the above error in rwb, but in Integration Engine getting successful flag after 7 mins until then it is waiting for response with status flag Log version.
Thanks & Regards,
Srihari.Hi,
Please see
How To... Investigate Timeouts In Synchronous XI/PI Scenarios
It will answer all your queries
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?QuickLink=index&overridelayout=true -
How to find the Latency time in java.
How to find the Latency time in java.
long start = System.currentTimeMillis();
doTheWork();
long durationInMillis = System.currentTimeMillis() - start;You might repeat doTheWork() several (100-1000 or more) times if it is fast and the granularity of your system clock is not good enough.
Maybe you are looking for
-
Why will my iPad mini not turn on FaceTime in settings?
Seriously, I can't use FaceTime at all on my iPad mini, because it thinks that I have FaceTime turned off in settings, but I don't!
-
WhenPrinting- Does Photoshop or Epson Determine out of gamut ?
We, (our photo club), have had a discussion going. When finished with your photo using CS2, if you go to Gamut warning and it is out of Gamut, you go to CMYK and back to RGB to get rid of the out of Gamut warning. This removes the out of Gamut colors
-
Wireless access to MS Access / MS SQL server
I'm planning to setup a database that will be wireless and simultaneously accessed by several Microsoft Surface tablets. It is within a production environment, the max distance to the server will be <st1:metricconverter productid="30 meter" w:st="on"
-
How do I make a flash card look like a normal disk to an application?
I have an application that works differently when reading data from a flash card compared to when it reads data from a hard drive. Does anyone know what would tip the application off as to what type of device the file system is mounted on, and if the
-
How to keep order of required validation messages while displaying.
Hi, I need to keep required validation messages as in the order of components in the page. Now it not showing properly. please let me know , if anybody have the solution. Vipin