org.gcube.data.streams
Class Utils

java.lang.Object
  extended by org.gcube.data.streams.Utils

public class Utils
extends Object

Library utils.

Author:
Fabio Simeoni

Constructor Summary
Utils()
           
 
Method Summary
static void initialiseRS()
          Initialises gRS2 library.
static boolean isContingency(Throwable t)
          Indicates whether a failure or its indirect causes are annotated with StreamContingency.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

initialiseRS

public static void initialiseRS()
Initialises gRS2 library.


isContingency

public static boolean isContingency(Throwable t)
Indicates whether a failure or its indirect causes are annotated with StreamContingency.

Parameters:
t - the failure
Returns:
true if the failure or its indirect causes are annotated with StreamContingency.


Copyright © 2012. All Rights Reserved.