• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

timeout! java

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does timeout! mean in a java code. I submitted some code and it said timeout! for some of my methods. Thanks for help
 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeremy Ng wrote:What does timeout! mean in a java code. I submitted some code and it said timeout! for some of my methods. Thanks for help


Welcome to CodeRanch!

To my knowledge, there are several meanings to timeout - depending on context.

It may be related to concurrent programming, database programming, or your own customized timeout.

It is difficult to answer your question without understanding what exact message/error/exception you are having, and what code you are dealing with.

Thanks.
 
Jeremy Ng
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


This code might seem very foreign and Id be glad to explain what each method does.. but for some reason it timed out ahah
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeremy Ng wrote:This code might seem very foreign and Id be glad to explain what each method does.. but for some reason it timed out ahah



There's nothing in there that suggests any kind of timeout in any way. There is no concept timeout in the Java language. There is in some methods in the core API, but I don't see you calling any of them here.

Furthermore the simple "timeout!" you mentioned in your first post wouldn't come from anything in the core API. It must be from some library you're using, or from some framework in which you're running your code. Without more context, it's impossible to say.

On an unrelated note:


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic