JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   Forums 

Changes in JPPF 5.0

From JPPF 5.1 Documentation

Jump to: navigation, search

Contents

Main Page > API changes > Changes in JPPF 5.0

New packaging

Version 5.0 introduces a more consistent packaging and distribution of the JPPF libraries. The following table compares the JPPF libraries present in each component distribution between versions 5.0 and 4.0:

Distribution Jars in 5.0 Jars in 4.0
Node jppf-common.jar

jppf-node.jar

jppf-common-node.jar
Server jppf-common.jar

jppf-node.jar
jppf-server.jar

jppf-common-node.jar

jppf-common.jar
jppf-server.jar

Client jppf-common.jar

jppf-client.jar

jppf-common-node.jar

jppf-common.jar
jppf-client.jar

Administration console jppf-common.jar

jppf-client.jar
jppf-admin.jar

jppf-common-node.jar

jppf-common.jar
jppf-client.jar
jppf-admin.jar

Location API classes

The following classes were moved from the package org.jppf.node.protocol to the package org.jppf.location:

  • AbstractLocation
  • FileLocation
  • Location
  • LocationEvent
  • LocationEventListener
  • MemoryLocation
  • URLLocation

Load-balancer classes

The classes which were in the package org.jppf.server.schedule.bundle and its subpackages were moved to the org.jppf.load.balancer package and subpackages:

v4.0 packages Moved to in v5.0
org.jppf.server.scheduler.bundle org.jppf.load.balancer
org.jppf.server.scheduler.bundle.autotuned

org.jppf.server.scheduler.bundle.fixedsize
org.jppf.server.scheduler.bundle.impl
org.jppf.server.scheduler.bundle.nodethreads
org.jppf.server.scheduler.bundle.proportional
org.jppf.server.scheduler.bundle.rl

org.jppf.load.balancer.impl
org.jppf.server.scheduler.bundle.providers

org.jppf.server.scheduler.bundle.spi

org.jppf.load.balancer.spi

Accordingly, the service definition file META-INF/services/org.jppf.server.schedule.bundle.spi.JPPFBundlerProvider was moved to META-INF/services/org.jppf.load.balancer.spi.JPPFBundlerProvider

Package org.jppf.server.protocol

The following classes were moved to the package org.jppf.node.protocol:

  • JPPFTask
  • JPPFRunnable
  • CommandLineTask
  • ClassPathElementImpl

Package org.jppf.task.storage

The following classes were moved to the package org.jppf.node.protocol:

  • DataProvider
  • MemoryMapDataProvider

Package org.jppf.client

class JPPFJob: the method getStatus() now returns an org.jppf.client.JobStatus enum value

Package org.jppf.client.submission

This package has been removed.

The class SubmissionStatus was moved and renamed as org.jppf.client.JobStatus

Package org.jppf.client.event

Class SubmissionStatusEvent:

  • the class was renamed to JobStatusEvent
  • the method getStatus() now returns an org.jppf.client.JobStatus enum value
  • the method getSubmissionId() was renamed to getJobUuid()


Class SubmissionStatusListener:

  • the class was renamed to JobStatusListener
  • the method submissionStatusChanged(SubmissionStatusEvent) was refactored into jobStatusChanged(JobStatusEvent)

Package org.jppf.jca.cci

Interface JPPFConnection:

  • submit(JPPFJob job, SubmissionStatusListener) was refactored into submit(JPPFJob, JobStatusListener)
  • addSubmissionStatusListener(String, SubmissionStatusListener) was refactored into addJobStatusListener(String, JobStatusListener)
  • removeSubmissionStatusListener(String, SubmissionStatusListener) was refactored into removeJobStatusListener(String, JobStatusListener)
  • SubmissionStatus getSubmissionStatus(String) was refactored into JobStatus getJobStatus(String)
  • getAllSubmissionIds() was renamed to getAllJobIds()
Main Page > API changes > Changes in JPPF 5.0


Support This Project Copyright © 2005-2016 JPPF.org Powered by MediaWiki