aspose file tools*
The moose likes Beginning Java and the fly likes dumpInfo ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "dumpInfo ?" Watch "dumpInfo ?" New topic
Author

dumpInfo ?

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660



public class DumpInfo
extends java.lang.Object
implements java.io.Serializable
This class defines a DumpInfo which carries dump metadata information that is mapped on a row in the dump table of the recovery log.
Sourced online...

Excuse me, can you give me an example of what DumpInfo does, the format/location of the metadata, and, where to find the recovery log?





Jon
Jared Malcolm
Ranch Hand

Joined: May 02, 2011
Posts: 54

This seems like it should be in the JDBC section rather then beginning Java


SCJA 6 (Studying for SCJP 6)
Kurt Van Etten
Ranch Hand

Joined: Sep 07, 2010
Posts: 98
If that was a DumpInfo constructor call, it should start with a capital D. Perhaps this is instead just a locally defined method with a similar name? (Also, the code excerpt you give doesn't look like it has anything to do with JDBC, so it's unclear why DumpInfo would be called there.)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38865
    
  23
Agree with Kurt van Etten.
Whatever you have got, it isn't from that link, because that shows details of DumpInfo and you are calling dumpInfo. If your code actually compiles, you must have a dumpInfo method somewhere, so you would have to find that. The link you quote is a to a class which contains lots of info about a dump (presumably a stack dump or similar), presumably to be stored until all that info is written to a file.
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Campbell Ritchie wrote:Agree with Kurt van Etten.
Whatever you have got, it isn't from that link, because that shows details of DumpInfo and you are calling dumpInfo. If your code actually compiles, you must have a dumpInfo method somewhere, so you would have to find that. The link you quote is a to a class which contains lots of info about a dump (presumably a stack dump or similar), presumably to be stored until all that info is written to a file.


Well I got it from here, what about my question?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Presumably, then, you already saw the implementation of dumpInfo() on that page. It starts thus:



In which case I don't understand what your question is all about.
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Paul Clapham wrote:Presumably, then, you already saw the implementation of dumpInfo() on that page. It starts thus:



In which case I don't understand what your question is all about.


So what does dumpInfo do, and is it possible to write this in a logical step-by-step manner, so I can troubleshoot it if necessary?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

I have no idea what dumpInfo does. It's not part of standard Java, it seems to be part of a library called C-JDBC which seems to be a dead project (latest news is from 2008). The website says the project was continued under the name Sequoia, and if you click the link on the page to http://sequoia.continuent.org you're redirected to a project called tungsten-replicator.

What do you want to use this code for?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Jesper de Jong wrote:I have no idea what dumpInfo does. It's not part of standard Java, it seems to be part of a library called C-JDBC which seems to be a dead project (latest news is from 2008). The website says the project was continued under the name Sequoia, and if you click the link on the page to http://sequoia.continuent.org you're redirected to a project called tungsten-replicator.

What do you want to use this code for?


I was trying to figure out what it is used for..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Jon Camilleri wrote:So what does dumpInfo do, and is it possible to write this in a logical step-by-step manner, so I can troubleshoot it if necessary?


I still don't understand. You posted a link to a page on the web, and said you got the code from there. And on that page is this code:



Were you seriously asking what that code does? It seems logical enough to me, and I don't particularly see why you would need to trouble-shoot it.

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Paul Clapham wrote:
Jon Camilleri wrote:So what does dumpInfo do, and is it possible to write this in a logical step-by-step manner, so I can troubleshoot it if necessary?


I still don't understand. You posted a link to a page on the web, and said you got the code from there. And on that page is this code:



Were you seriously asking what that code does? It seems logical enough to me, and I don't particularly see why you would need to trouble-shoot it.



I give up to asking questions in a forum...
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

Jon, it's a bit hard to answer your question, because you seem to be referring to some random method that's part of some not-very-well-known library. It's really hard to say what the authors of the library had in mind with that method. It uses things such as class AdjustmentEvent, which apparently has a type, looking at the switch statement in the code of the method, and then it prints the name of the type: "Track", "Block Decrement" etc.

But what an "adjustment event" is and what its type is supposed to mean are things that only make sense if you know what the library is for and what the concepts that the library introduces mean. You'd have to read and study the documentation of the whole library to learn those things. Just by itself, without any context, it's really impossible to know what all these concepts mean and what the exact purpose of the method is.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Jon Camilleri wrote:I give up to asking questions in a forum...


Well, sorry Jon, but I really don't understand. First of all you haven't ever said that code is the code you're asking about. You posted a link to a tutorial which included it, but perhaps you didn't see it there or something. I tried to ask if that was the topic of your question but I never got a straight answer. And you'll notice that other people were posting responses which were different guesses. You never responded to those either. So we're all guessing here.

Asking questions in a forum is a two-way street. Don't expect that other people will necessarily know what you're talking about. And if they specifically ask you what you're talking about, that's a signal that you need to provide more information.
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Paul Clapham wrote:
Jon Camilleri wrote:I give up to asking questions in a forum...


Well, sorry Jon, but I really don't understand. First of all you haven't ever said that code is the code you're asking about. You posted a link to a tutorial which included it, but perhaps you didn't see it there or something. I tried to ask if that was the topic of your question but I never got a straight answer. And you'll notice that other people were posting responses which were different guesses. You never responded to those either. So we're all guessing here.

Asking questions in a forum is a two-way street. Don't expect that other people will necessarily know what you're talking about. And if they specifically ask you what you're talking about, that's a signal that you need to provide more information.


Well, that's fine, I was asking what dumpInfo does...dumps information where?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

Looking at the code above, it just dumps information to the console, with System.out.println() calls.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dumpInfo ?