Codota Logo
StdJDBCDelegate.getKeyOfNonSerializableValue
Code IndexAdd Codota to your IDE (free)

How to use
getKeyOfNonSerializableValue
method
in
org.quartz.impl.jdbcjobstore.StdJDBCDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getKeyOfNonSerializableValue (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Remove the transient data from and then create a serialized <code>java.util.ByteArrayOutputStream</code>
 * version of a <code>{@link org.quartz.JobDataMap}</code>.
 * </p>
 * 
 * @param data
 *          the JobDataMap to serialize
 * @return the serialized ByteArrayOutputStream
 * @throws IOException
 *           if serialization causes an error
 */
protected ByteArrayOutputStream serializeJobData(JobDataMap data)
  throws IOException {
  if (canUseProperties()) {
    return serializeProperties(data);
  }
  try {
    return serializeObject(data);
  } catch (NotSerializableException e) {
    throw new NotSerializableException(
      "Unable to serialize JobDataMap for insertion into " + 
      "database because the value of property '" + 
      getKeyOfNonSerializableValue(data) + 
      "' is not serializable: " + e.getMessage());
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Remove the transient data from and then create a serialized <code>java.util.ByteArrayOutputStream</code>
 * version of a <code>{@link org.quartz.JobDataMap}</code>.
 * </p>
 * 
 * @param data
 *          the JobDataMap to serialize
 * @return the serialized ByteArrayOutputStream
 * @throws IOException
 *           if serialization causes an error
 */
protected ByteArrayOutputStream serializeJobData(JobDataMap data)
  throws IOException {
  if (canUseProperties()) {
    return serializeProperties(data);
  }
  try {
    return serializeObject(data);
  } catch (NotSerializableException e) {
    throw new NotSerializableException(
      "Unable to serialize JobDataMap for insertion into " + 
      "database because the value of property '" + 
      getKeyOfNonSerializableValue(data) + 
      "' is not serializable: " + e.getMessage());
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Remove the transient data from and then create a serialized <code>java.util.ByteArrayOutputStream</code>
 * version of a <code>{@link org.quartz.JobDataMap}</code>.
 * </p>
 * 
 * @param data
 *          the JobDataMap to serialize
 * @return the serialized ByteArrayOutputStream
 * @throws IOException
 *           if serialization causes an error
 */
protected ByteArrayOutputStream serializeJobData(JobDataMap data)
  throws IOException {
  if (canUseProperties()) {
    return serializeProperties(data);
  }
  try {
    return serializeObject(data);
  } catch (NotSerializableException e) {
    throw new NotSerializableException(
      "Unable to serialize JobDataMap for insertion into " + 
      "database because the value of property '" + 
      getKeyOfNonSerializableValue(data) + 
      "' is not serializable: " + e.getMessage());
  }
}
origin: quartz/quartz-all

/**
 * <p>
 * Remove the transient data from and then create a serialized <code>java.util.ByteArrayOutputStream</code>
 * version of a <code>{@link org.quartz.JobDataMap}</code>.
 * </p>
 * 
 * @param data
 *          the JobDataMap to serialize
 * @return the serialized ByteArrayOutputStream
 * @throws IOException
 *           if serialization causes an error
 */
protected ByteArrayOutputStream serializeJobData(JobDataMap data)
  throws IOException {
  if (canUseProperties()) {
    return serializeProperties(data);
  }
  try {
    return serializeObject(data);
  } catch (NotSerializableException e) {
    throw new NotSerializableException(
      "Unable to serialize JobDataMap for insertion into " + 
      "database because the value of property '" + 
      getKeyOfNonSerializableValue(data) + 
      "' is not serializable: " + e.getMessage());
  }
}
org.quartz.impl.jdbcjobstoreStdJDBCDelegategetKeyOfNonSerializableValue

Javadoc

Find the key of the first non-serializable value in the given Map.

Popular methods of StdJDBCDelegate

  • canUseProperties
  • closeResultSet
    Cleanup helper method that closes the given ResultSet while ignoring any errors.
  • closeStatement
    Cleanup helper method that closes the given Statement while ignoring any errors.
  • convertFromProperty
    convert the JobDataMap into a list of properties
  • convertToProperty
    convert the JobDataMap into a list of properties
  • getBoolean
    Retrieves the value of the designated column in the current row as a boolean. This just wraps Result
  • getMapFromProperties
    build Map from java.util.Properties encoding.
  • getObjectFromBlob
    This method should be overridden by any delegate subclasses that need special handling for BLOBs. T
  • rtp
    Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix.
  • selectTrigger
    Select a trigger.
  • selectTriggerJobDataMap
    Select a trigger's JobDataMap.
  • serializeJobData
    Remove the transient data from and then create a serialized java.util.ByteArrayOutputStream versio
  • selectTriggerJobDataMap,
  • serializeJobData,
  • serializeObject,
  • serializeProperties,
  • setBoolean,
  • setBytes,
  • addDefaultTriggerPersistenceDelegates,
  • addTriggerPersistenceDelegate,
  • deleteBlobTrigger

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BoxLayout (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now