congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PointbaseDelegate.serializeJobData
Code IndexAdd Tabnine to your IDE (free)

How to use
serializeJobData
method
in
org.quartz.impl.jdbcjobstore.PointbaseDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.PointbaseDelegate.serializeJobData (Showing top 20 results out of 315)

origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz/quartz-all

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

public int insertTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

public int insertTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

public int updateTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

public int updateTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
org.quartz.impl.jdbcjobstorePointbaseDelegateserializeJobData

Popular methods of PointbaseDelegate

  • canUseProperties
  • closeStatement
  • getObjectFromBlob
    This method should be overridden by any delegate subclasses that need special handling for BLOBs. T
  • rtp
  • serializeObject
  • setBoolean
  • deleteJobListeners
  • deleteTriggerListeners
  • findTriggerPersistenceDelegate
  • insertBlobTrigger
  • insertJobListener
  • insertTriggerListener
  • insertJobListener,
  • insertTriggerListener,
  • updateBlobTrigger

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now