Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | package org.prevayler.foundation.serialization;
import org.prevayler.foundation.ObjectInputStreamWithClassLoader;
import java.io.OutputStream;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
/**
* Writes and reads objects using ... | 194 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Carlos Villela, Jacob... | 204 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Jacob Kjome
packag... | 282 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Carlos Villela, Jacob... | 228 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Carlos Villela, Jacob... | 211 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Jacob Kjome
packag... | 283 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Carlos Villela.
pa... | 519 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.foundation;
... | 150 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import org.prevayler.foundation.serialization.JavaSerializer;
import org.prevayler.foundation.serialization.Serializer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PipedInpu... | 829 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Aleksey Aristov.
p... | 194 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.EOFException;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.StringTokenizer;
import ... | 821 |
github-java-corpus | 2,012 | package org.prevayler.foundation.gzip;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.SequenceInputStream;
import java.util.zip.GZIPInputStream;
public class ContinuableGZIPInputStream extends GZIPInputStream {
public ContinuableGZIPInputStream(... | 136 |
github-java-corpus | 2,012 | package org.prevayler.foundation.gzip;
import java.io.IOException;
import java.io.OutputStream;
import java.util.zip.GZIPOutputStream;
public class MultiMemberGZIPOutputStream extends OutputStream {
private OutputStream _stream;
private GZIPOutputStream _gzip;
public MultiMemberGZIPOutputStream(Output... | 246 |
github-java-corpus | 2,012 | package org.prevayler.foundation.gzip;
import org.prevayler.foundation.gzip.ContinuableGZIPInputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
public class MultiMemberGZIPInputStream extends InputStream {
private ContinuableGZIPInputStream _gzip;
public M... | 329 |
github-java-corpus | 2,012 | package org.prevayler.foundation.gzip;
import java.io.IOException;
import java.io.OutputStream;
public class NonCloseableOutputStream extends OutputStream {
private final OutputStream _stream;
public NonCloseableOutputStream(OutputStream stream) {
_stream = stream;
}
public void close() throws I... | 137 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import java.util.LinkedHashMap;
import java.util.Map;
public class Chunk {
private byte[] _bytes;
private Map _parameters;
public Chunk(byte[] bytes) {
this(bytes, new LinkedHashMap());
}
public Chunk(byte[] bytes, Map parameters) {
_bytes = bytes;
_para... | 142 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import java.util.List;
public interface QueryConnection {
/** Returns the List of all Record with the given name.
*/
public List queryByName(String name);
}
| 43 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
/** Tests insert, update and delete scalability.
*/
public class TransactionTestRun extends ScalabilityTestRun {
private int halfTheObjects;
public TransactionTestRun(ScalabilityTestSubject subject, int numberOfObjects, int minThreads, int maxThreads) {
super... | 467 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import org.prevayler.demos.scalability.prevayler.*;
import org.prevayler.demos.scalability.jdbc.*;
import org.prevayler.foundation.serialization.JavaSerializer;
import java.io.*;
import java.util.*;
public class Main {
static private final Properties properties =... | 3,016 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
public interface TransactionConnection {
public void performTransaction(Record recordToInsert, Record recordToUpdate, long idToDelete);
}
| 34 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import java.io.Serializable;
import java.util.*;
import java.math.BigDecimal;
public class Record implements Serializable {
private static final long serialVersionUID = 7098880197177237832L;
private static final String largeString = generateLargeString();
pri... | 494 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.foundation.serialization.Serializer;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
public class PrevaylerTransactionSubject extends PrevaylerScalabilitySubject {
... | 410 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.util.Date;
import org.prevayler.Transaction;
import org.prevayler.demos.scalability.Record;
class TestTransaction implements Transaction {
private static final long serialVersionUID = -2634307328586761351L;
private final Record recordToInser... | 156 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import org.prevayler.demos.scalability.*;
import java.util.List;
class PrevaylerQueryConnection implements QueryConnection {
private final QuerySystem querySystem;
PrevaylerQueryConnection(QuerySystem querySystem) {
this.querySystem = querySystem;
... | 86 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import org.prevayler.demos.scalability.*;
interface ScalabilitySystem extends java.io.Serializable {
void replaceAllRecords(RecordIterator newRecords);
}
| 43 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.util.Date;
import org.prevayler.Transaction;
import org.prevayler.demos.scalability.RecordIterator;
class AllRecordsReplacement implements Transaction {
private static final long serialVersionUID = 6283032417365727408L;
private final int _re... | 112 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.prevayler.demos.scalability.Record;
import org.prevayler.demos.scalability.RecordIterator;... | 292 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.util.HashMap;
import java.util.Map;
import org.prevayler.demos.scalability.Record;
import org.prevayler.demos.scalability.RecordIterator;
class TransactionSystem implements ScalabilitySystem {
private static final long serialVersionUID = 4615... | 213 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.io.File;
import java.io.PrintStream;
import org.prevayler.PrevaylerFactory;
//import org.prevayler.implementation.PrevalenceTest;
public class PrevaylerQuerySubject extends PrevaylerScalabilitySubject {
static final String PREVALENCE_BASE = "... | 219 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import java.io.File;
import java.io.FileFilter;
public class PrevalenceTest {
static public void delete(String dir) {
delete(new File(dir));
}
static private void delete(File file) {
if (file.isDirectory()) deleteDirectoryContents(file);
... | 186 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import org.prevayler.Prevayler;
import org.prevayler.demos.scalability.ScalabilityTestSubject;
abstract class PrevaylerScalabilitySubject implements ScalabilityTestSubject {
protected Prevayler prevayler;
{System.gc();}
public String name() { re... | 134 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.prevayler;
import org.prevayler.demos.scalability.*;
import org.prevayler.Prevayler;
class PrevaylerTransactionConnection implements TransactionConnection {
private final Prevayler prevayler;
PrevaylerTransactionConnection(Prevayler prevayler) {
this.prevayler =... | 150 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import org.prevayler.foundation.Cool;
import org.prevayler.foundation.StopWatch;
import java.text.DecimalFormat;
import java.util.LinkedList;
import java.util.List;
/** Represents a single run of a scalability test. To understand the implementation of this class, you... | 1,171 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import java.io.PrintStream;
public interface ScalabilityTestSubject {
public String name();
public void replaceAllRecords(int records);
public Object createTestConnection();
public void reportResourcesUsed(PrintStream out);
}
| 51 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
import java.io.Serializable;
import java.util.Random;
/** Generates Record objects with ids from 0 to numberOfRecords - 1.
*/
public class RecordIterator implements Serializable {
private static final long serialVersionUID = 4278565982042966467L;
private int nextR... | 221 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability;
public class QueryTestRun extends ScalabilityTestRun {
public QueryTestRun(ScalabilityTestSubject subject, int numberOfObjects, int minThreads, int maxThreads) {
super(subject, numberOfObjects, minThreads, maxThreads);
}
protected String name() {
return "Que... | 111 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.jdbc;
import org.prevayler.demos.scalability.*;
import java.sql.*;
// Contributions by Stefan Ortmanns.
abstract class JDBCScalabilityConnection {
protected final Connection connection;
private final PreparedStatement insertStatement;
protected JDBCScalability... | 518 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.jdbc;
public class JDBCQuerySubject extends JDBCScalabilitySubject {
public JDBCQuerySubject(String jdbcDriverClassName, String connectionURL, String user, String password) {
super(jdbcDriverClassName, connectionURL, user, password);
}
public Object createTestConn... | 78 |
github-java-corpus | 2,012 | //Contributions: Stefan Ortmanns.
package org.prevayler.demos.scalability.jdbc;
import org.prevayler.demos.scalability.*;
import java.sql.*;
class JDBCTransactionConnection extends JDBCScalabilityConnection implements TransactionConnection {
private final PreparedStatement updateStatement;
private fin... | 427 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.jdbc;
import org.prevayler.demos.scalability.*;
import java.sql.*;
import java.util.*;
// Contributions by Stefan Ortmanns.
class JDBCQueryConnection extends JDBCScalabilityConnection implements QueryConnection {
private final PreparedStatement selectStatement;
... | 247 |
github-java-corpus | 2,012 | package org.prevayler.demos.scalability.jdbc;
public class JDBCTransactionSubject extends JDBCScalabilitySubject {
public JDBCTransactionSubject(String jdbcDriverClassName, String connectionURL, String user, String password) {
super(jdbcDriverClassName, connectionURL, user, password);
}
public Object ... | 87 |
github-java-corpus | 2,012 | //Contributions by Stefan Ortmanns.
package org.prevayler.demos.scalability.jdbc;
import org.prevayler.demos.scalability.*;
import java.sql.*;
import java.io.PrintStream;
abstract class JDBCScalabilitySubject implements ScalabilityTestSubject {
protected final String connectionURL;
protected final St... | 275 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Bank;
import org.prevayler.demos.demo2.gui.BankFrame;
public class Main {
public static void main(String[] ignored) throws Exception {
out("\nOne snapsho... | 272 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Bank;
public class MainReplica {
public static void main(String[] args) throws Exception {
out( "This demo shows how your application can be replicated"... | 367 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Bank;
public class MainTransient {
public static void main(String[] ignored) throws Exception {
out( "This demo shows how persistence can be turned o... | 233 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import com.thoughtworks.xstream.XStream;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Account;
import org.prevayler.demos.demo2.business.AccountEntry;
import org.prevayler.demos.demo2.business.Bank;
import or... | 302 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Bank;
public class MainReplicaServer {
public static void main(String[] ignored) throws Exception {
out( "This demo shows how your application can be re... | 276 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import org.prevayler.demos.demo2.business.Bank;
import org.prevayler.foundation.serialization.SkaringaSerializer;
public class MainSkaringa {
public static void main(String[] args) throws Exception {
... | 189 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business;
import java.io.Serializable;
import java.util.Date;
public class AccountEntry implements Serializable {
private static final long serialVersionUID = 8394742481391868028L;
private long amount;
private Date timestamp;
private AccountEntry() {
}
... | 141 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business;
public interface BankListener {
public void accountCreated(Account account);
public void accountDeleted(Account account);
} | 34 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business;
import java.util.*;
public class Account implements java.io.Serializable {
private static final long serialVersionUID = 3998522662411373397L;
private long number;
private String holder;
private long balance = 0;
private List transactionHistory = new ArrayLis... | 600 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.*;
public class Withdrawal extends AccountTransaction {
private static final long serialVersionUID = -4227641889302816129L;
protected long _amount;
private Withdrawal() {} //... | 124 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.TransactionWithQuery;
import org.prevayler.demos.demo2.business.Bank;
public abstract class BankTransaction implements TransactionWithQuery {
public Object executeAndQuery(Object bank, Date timestamp) thro... | 94 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.*;
public class AccountCreation extends BankTransaction {
private static final long serialVersionUID = 476105268406333743L;
private String _holder;
private AccountCreation() ... | 116 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.Account;
public class HolderChange extends AccountTransaction {
private static final long serialVersionUID = -5846094202312934631L;
private String _newHolder;
private HolderCha... | 127 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.Account;
public class Deposit extends AccountTransaction {
private static final long serialVersionUID = 991958966450346984L;
private long _amount;
private Deposit() {} //Necess... | 120 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.*;
public class AccountDeletion extends BankTransaction {
private static final long serialVersionUID = -3401288850388764433L;
private long _accountNumber;
private AccountDele... | 128 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.*;
abstract class AccountTransaction extends BankTransaction {
private long _accountNumber;
AccountTransaction() {} //Necessary for Skaringa XML serialization. This would no... | 159 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business.transactions;
import java.util.Date;
import org.prevayler.demos.demo2.business.Bank;
public class Transfer extends BankTransaction {
private static final long serialVersionUID = -8656365915179217238L;
private long _originAccountNumber;
private long _destinatio... | 172 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business;
import java.util.*;
public class Bank implements java.io.Serializable {
private static final long serialVersionUID = 9202866398345361997L;
private long nextAccountNumber = 1;
private Map accountsByNumber = new HashMap();
private transient BankListener bankLis... | 484 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.business;
public interface AccountListener {
void accountChanged();
}
| 22 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import org.prevayler.Prevayler;
import org.prevayler.demos.demo2.business.transactions.AccountCreation;
import javax.swing.*;
import java.awt.Container;
class NewAccountFrame extends AccountFrame {
private static final long serialVersionUID = -7766047243601388692L;
... | 202 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
import net.sourceforge.javamatch.engine.*;
import net.sourceforge.javamatch.query.*;
import org.prevayler.Prevayler;
import org.prevayler.demos.demo2.bu... | 777 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.text.DecimalFormat;
import java.text.ParseException;
import javax.swing.Box;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import ja... | 474 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import org.prevayler.Prevayler;
import org.prevayler.demos.demo2.business.*;
import org.prevayler.demos.demo2.business.transactions.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
class AllAccountsFrame extends JInternal... | 830 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import org.prevayler.Prevayler;
import org.prevayler.foundation.Cool;
import javax.swing.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class BankFrame extends JFrame {
private static final long serialVersionUID = 936051923275473259L;
p... | 453 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import java.awt.Container;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
import org.prevayler.Prevayler;
import org.prevayler.demos.demo2.business.Account;
import org.prevayler.demos.demo2.business.trans... | 394 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import java.awt.Container;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
i... | 819 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo2.gui;
import javax.swing.*;
import java.awt.event.ActionEvent;
abstract class RobustAction extends AbstractAction {
RobustAction(String name) {
super(name);
}
public void actionPerformed(ActionEvent e) {
try {
action();
} catch (Exception exception) {
... | 111 |
github-java-corpus | 2,012 |
package org.prevayler.demos.demo1;
import org.prevayler.Prevayler;
import org.prevayler.PrevaylerFactory;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
printMessage();
Prevayler prevayler = PrevaylerFactory.createPrevayler(new NumberKeeper(), "demo... | 159 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo1;
import org.prevayler.Prevayler;
/**
* This is client code to the prevalent system. It does not need to be persisted.
*/
class PrimeCalculator {
private final Prevayler _prevayler;
private final NumberKeeper _numberKeeper;
PrimeCalculator(Prevayler prevayler) {... | 403 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo1;
import java.util.Date;
import org.prevayler.Transaction;
/**
* To change the state of the business objects, the client code must use a Transaction like this one.
*/
class NumberStorageTransaction implements Transaction {
private static final long serialVersionUID =... | 146 |
github-java-corpus | 2,012 | package org.prevayler.demos.demo1;
import java.util.*;
/**
* The NumberKeeper and all its references are the prevalent system.
* i.e: They are the "business objects" and will be transparently persisted by Prevayler.
*/
class NumberKeeper implements java.io.Serializable {
private static final long se... | 150 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 126 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 116 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Jon Tirs�n.
packag... | 559 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Frederic Langlet
p... | 268 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 796 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 100 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 264 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Frederic Langlet
p... | 331 |
github-java-corpus | 2,012 | package org.prevayler.implementation;
import org.prevayler.TransactionWithQuery;
import org.prevayler.foundation.serialization.Serializer;
import java.util.Date;
class TransactionWithQueryCapsule extends Capsule {
private static final long serialVersionUID = 78811627002206298L;
private transient Object ... | 260 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 982 |
github-java-corpus | 2,012 | package org.prevayler.implementation;
import org.prevayler.Transaction;
import org.prevayler.foundation.serialization.Serializer;
import java.util.Date;
class TransactionCapsule extends Capsule {
private static final long serialVersionUID = 3283271592697928351L;
public TransactionCapsule(Transaction t... | 157 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 509 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Carlos Villela.
pa... | 1,942 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 160 |
github-java-corpus | 2,012 | package org.prevayler.implementation.snapshot;
import org.prevayler.foundation.serialization.JavaSerializer;
import org.prevayler.foundation.serialization.Serializer;
import org.prevayler.implementation.PrevalentSystemGuard;
import org.prevayler.implementation.PrevaylerDirectory;
import java.io.File;
import j... | 790 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2004 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Jacob Kjome.
packa... | 170 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Justin Sampson, Eric Bridg... | 1,047 |
github-java-corpus | 2,012 | package org.prevayler.implementation;
import org.prevayler.foundation.Chunking;
import org.prevayler.foundation.Guided;
import org.prevayler.foundation.Turn;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Date;
public class TransactionGuide extends Guided {
private final Tran... | 211 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 395 |
github-java-corpus | 2,012 | package org.prevayler.implementation;
import org.prevayler.foundation.Chunk;
import org.prevayler.foundation.serialization.Serializer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.Serializable;
import java.util.Date;
public abstract class Capsule implements Seri... | 515 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 742 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 284 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 1,055 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 254 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 168 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler.implementation... | 233 |
github-java-corpus | 2,012 | package org.prevayler.implementation;
import org.prevayler.Clock;
import org.prevayler.Query;
import org.prevayler.foundation.Cool;
import org.prevayler.foundation.DeepCopier;
import org.prevayler.foundation.serialization.Serializer;
import org.prevayler.implementation.publishing.TransactionPublisher;
import o... | 1,032 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.